次の方法で共有


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[]

the encoded form of this certificate

Attributes

Exceptions

if the 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 java.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