Click or drag to resize

X509Certificate Class

This class represents an X509 public-key certificate, as specified in RFC 5280.
Inheritance Hierarchy
SystemObject
  pdftron.CryptoX509Certificate

Namespace:  pdftron.Crypto
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class X509Certificate : IClosable

The X509Certificate type exposes the following members.

Methods
  NameDescription
Public methodClose
Public methodDestroy
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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetData
Retrieves the certificate as binary DER-encoded data. (DER is short for Distinguished Encoding Rules.)
Public methodGetExtensions
Retrieves all extensions (as first specified in V3 of X509, see RFC 5280) from the certificate.
Public methodGetFingerprint
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.
Public methodGetFingerprint(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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIssuerField
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).
Public methodGetNotAfterEpochTime
Retrieves the notAfter time from the certificate's Validity entry in the form of an integral value representing an epoch time.
Public methodGetNotBeforeEpochTime
Retrieves the notBefore time from the certificate's Validity entry in the form of an integral value representing an epoch time.
Public methodGetRawX509VersionNumber
Retrieves the version number representing which version of X509 the certificate corresponds to, from the certificate.
Public methodGetSerialNumber
Retrieves the serialNumber entry from the certificate.
Public methodGetSubjectField
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).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string representation of the certificate.
Top
See Also