Certificate.GetEncoded Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.