Share via


X509Certificate.GetTBSCertificate Method

Definition

Gets the DER-encoded certificate information, the tbsCertificate from this certificate.

[Android.Runtime.Register("getTBSCertificate", "()[B", "GetGetTBSCertificateHandler")]
public abstract byte[]? GetTBSCertificate ();
[<Android.Runtime.Register("getTBSCertificate", "()[B", "GetGetTBSCertificateHandler")>]
abstract member GetTBSCertificate : unit -> byte[]

Returns

Byte[]

the DER-encoded certificate information.

Attributes

Exceptions

if an error occurs in encoding

Remarks

Gets the DER-encoded certificate information, the tbsCertificate from this certificate. This can be used to verify the signature independently.

Java documentation for java.security.cert.X509Certificate.getTBSCertificate().

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