X509Certificate Class |
Namespace: pdftron.Crypto
public sealed class X509Certificate : IClosable
The X509Certificate type exposes the following members.
Name | Description | |
---|---|---|
Close | ||
Destroy |
Frees the native memory of the object. This can
be explicity called to control the deallocation of
native memory and avoid situations where the garbage
collector does not free the object in a timely manner.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetData |
Retrieves the certificate as binary DER-encoded data. (DER is short for Distinguished Encoding Rules.)
| |
GetExtensions |
Retrieves all extensions (as first specified in V3 of X509, see RFC 5280) from the certificate.
| |
GetFingerprint |
Retrieves, in a string, a text representation of a cryptographically-secure digest of the certificate that can be used to identify it uniquely.
Note: Default algorithm parameter is currently SHA-256, but may change in future without further warning, pursuant to security needs.
| |
GetFingerprint(DigestAlgorithm) |
Retrieves, in a string, a text representation of a cryptographically-secure digest of the certificate that can be used to identify it uniquely.
Note: Default algorithm parameter is currently SHA-256, but may change in future without further warning, pursuant to security needs.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIssuerField |
Retrieves the names of the certificate issuer as a map of OIDs (i.e. one of the object identifiers from the X.500 attribute types) to string values.
The issuer field identifies the entity that has signed and issued the certificate.
The returned value will contain all of the AttributeTypeAndValue items from all of the RelativeDistinguishedNames in the Name of the issuer. See RFC 5280, section 4.1.2.4 and Appendix A.1 (page 116).
| |
GetNotAfterEpochTime |
Retrieves the notAfter time from the certificate's Validity entry in the form of an integral value representing an epoch time.
| |
GetNotBeforeEpochTime |
Retrieves the notBefore time from the certificate's Validity entry in the form of an integral value representing an epoch time.
| |
GetRawX509VersionNumber |
Retrieves the version number representing which version of X509 the certificate corresponds to, from the certificate.
| |
GetSerialNumber |
Retrieves the serialNumber entry from the certificate.
| |
GetSubjectField |
Retrieves the names of the certificate subject as a map of OIDs (i.e. one of the object identifiers from the X.500 attribute types) to string values.
The subject field represents the identity of the entity associated with the certificate's public key. The returned value will contain all of the AttributeTypeAndValue items from all of the RelativeDistinguishedNames in the Name of the subject.
See RFC 5280, section 4.1.2.6 and Appendix A.1 (page 116).
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Returns a string representation of the certificate.
|