Condividi tramite


CertPath.GetEncoded Method

Definition

Overloads

GetEncoded()

Returns the encoded form of this certification path, using the default encoding.

GetEncoded(String)

Returns the encoded form of this certification path, using the specified encoding.

GetEncoded()

Returns the encoded form of this certification path, using the default encoding.

[Android.Runtime.Register("getEncoded", "()[B", "GetGetEncodedHandler")]
public abstract byte[]? GetEncoded ();
[<Android.Runtime.Register("getEncoded", "()[B", "GetGetEncodedHandler")>]
abstract member GetEncoded : unit -> byte[]

Returns

Byte[]

the encoded bytes

Attributes

Exceptions

if the encoding fails.

Remarks

Returns the encoded form of this certification path, using the default encoding.

Java documentation for java.security.cert.CertPath.getEncoded().

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

GetEncoded(String)

Returns the encoded form of this certification path, using the specified encoding.

[Android.Runtime.Register("getEncoded", "(Ljava/lang/String;)[B", "GetGetEncoded_Ljava_lang_String_Handler")]
public abstract byte[]? GetEncoded (string? encoding);
[<Android.Runtime.Register("getEncoded", "(Ljava/lang/String;)[B", "GetGetEncoded_Ljava_lang_String_Handler")>]
abstract member GetEncoded : string -> byte[]

Parameters

encoding
String

the name of the encoding to use

Returns

Byte[]

the encoded bytes

Attributes

Exceptions

if the encoding fails.

Remarks

Returns the encoded form of this certification path, using the specified encoding.

Java documentation for java.security.cert.CertPath.getEncoded(java.lang.String).

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