Language

IkeSessionParams.IkeAuthPskConfig.GetPsk Method

Definition

Retrieves the pre-shared key

[Android.Runtime.Register("getPsk", "()[B", "GetGetPskHandler", ApiSince=31)]
public virtual byte[] GetPsk();
[<Android.Runtime.Register("getPsk", "()[B", "GetGetPskHandler", ApiSince=31)>]
abstract member GetPsk : unit -> byte[]
override this.GetPsk : unit -> byte[]

Returns

Byte[]

A copy of the pre-shared key bytes. Changes to the returned array do not change the stored key.

Attributes

Remarks

Retrieves the pre-shared key

Java documentation for android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig.getPsk().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to