Click or drag to resize

PdfCertificate Methods

The PdfCertificate type exposes the following members.

Methods
Name Description
Public method Dispose
Releases all resources used by the current X509Certificate object.
(Inherited from X509Certificate .)
Protected method Dispose(Boolean)
Releases all of the unmanaged resources used by this X509Certificate and optionally releases the managed resources.
(Inherited from X509Certificate .)
Public method Equals(Object)
Compares two X509Certificate objects for equality.
(Inherited from X509Certificate .)
Public method Equals(X509Certificate)
Compares two X509Certificate objects for equality.
(Inherited from X509Certificate .)
Public method Export(X509ContentType)
Exports the current X509Certificate object to a byte array in a format described by one of the X509ContentType values.
(Inherited from X509Certificate .)
Public method Export(X509ContentType, String)
Exports the current X509Certificate object to a byte array in a format described by one of the X509ContentType values, and using the specified password.
(Inherited from X509Certificate .)
Public method Export(X509ContentType, SecureString)
Exports the current X509Certificate object to a byte array using the specified format and a password.
(Inherited from X509Certificate .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method Static member FindByIssuer
Finds the certificate by issuer.
Public method Static member FindBySerialId
Finds the certificate by serial number.
Public method Static member FindBySubject
Finds the certificate by subject.
Public method GetCertHash
Returns the hash value for the X.509v3 certificate as an array of bytes.
(Inherited from X509Certificate .)
Public method GetCertHashString
Returns the SHA1 hash value for the X.509v3 certificate as a hexadecimal string.
(Inherited from X509Certificate .)
Public method Static member GetCertificates
Gets the certificates in all storages.
Public method GetEffectiveDateString
Returns the effective date of this X.509v3 certificate.
(Inherited from X509Certificate .)
Public method GetExpirationDateString
Returns the expiration date of this X.509v3 certificate.
(Inherited from X509Certificate .)
Public method GetFormat
Returns the name of the format of this X.509v3 certificate.
(Inherited from X509Certificate .)
Public method GetHashCode
Returns the hash code for the X.509v3 certificate as an integer.
(Inherited from X509Certificate .)
Public method GetIssuerName Obsolete.
Returns the name of the certification authority that issued the X.509v3 certificate.
(Inherited from X509Certificate .)
Public method GetKeyAlgorithm
Returns the key algorithm information for this X.509v3 certificate as a string.
(Inherited from X509Certificate .)
Public method GetKeyAlgorithmParameters
Returns the key algorithm parameters for the X.509v3 certificate as an array of bytes.
(Inherited from X509Certificate .)
Public method GetKeyAlgorithmParametersString
Returns the key algorithm parameters for the X.509v3 certificate as a hexadecimal string.
(Inherited from X509Certificate .)
Public method GetName Obsolete.
Returns the name of the principal to which the certificate was issued.
(Inherited from X509Certificate .)
Public method GetNameInfo
Gets the name info.
Public method GetPublicKey
Returns the public key for the X.509v3 certificate as an array of bytes.
(Inherited from X509Certificate .)
Public method GetPublicKeyString
Returns the public key for the X.509v3 certificate as a hexadecimal string.
(Inherited from X509Certificate .)
Public method GetRawCertData
Returns the raw data for the entire X.509v3 certificate as an array of bytes.
(Inherited from X509Certificate .)
Public method GetRawCertDataString
Returns the raw data for the entire X.509v3 certificate as a hexadecimal string.
(Inherited from X509Certificate .)
Public method GetSerialNumber
Returns the serial number of the X.509v3 certificate as an array of bytes.
(Inherited from X509Certificate .)
Public method GetSerialNumberString
Returns the serial number of the X.509v3 certificate as a hexadecimal string.
(Inherited from X509Certificate .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method Import( Byte )
Populates an X509Certificate2 object with data from a byte array.
(Inherited from X509Certificate2 .)
Public method Import(String)
Populates an X509Certificate2 object with information from a certificate file.
(Inherited from X509Certificate2 .)
Public method Import( Byte , String, X509KeyStorageFlags)
Populates an X509Certificate2 object using data from a byte array, a password, and flags for determining how to import the private key.
(Inherited from X509Certificate2 .)
Public method Import( Byte , SecureString, X509KeyStorageFlags)
Populates an X509Certificate2 object using data from a byte array, a password, and a key storage flag.
(Inherited from X509Certificate2 .)
Public method Import(String, String, X509KeyStorageFlags)
Populates an X509Certificate2 object with information from a certificate file, a password, and a X509KeyStorageFlags value.
(Inherited from X509Certificate2 .)
Public method Import(String, SecureString, X509KeyStorageFlags)
Populates an X509Certificate2 object with information from a certificate file, a password, and a key storage flag.
(Inherited from X509Certificate2 .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Reset
Resets the state of an X509Certificate2 object.
(Inherited from X509Certificate2 .)
Public method ToString
Displays an X.509 certificate in text format.
(Inherited from X509Certificate2 .)
Public method ToString(Boolean)
Displays an X.509 certificate in text format.
(Inherited from X509Certificate2 .)
Public method Verify
Performs a X.509 chain validation using basic validation policy.
(Inherited from X509Certificate2 .)
Top
See Also