共用方式為


Certificate.GetEncoded Method

Definition

Returns the encoded form of this certificate.

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

Returns

Byte[]

encoded form of this certificate

Attributes

Exceptions

if encoding fails.

Remarks

Returns the encoded form of this certificate. It is assumed that each certificate type would have only a single form of encoding; for example, X.509 certificates would be encoded as ASN.1 DER.

Java documentation for javax.security.cert.Certificate.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