Represents the Certificate object.
Namespace: Spire.Pdf.SecurityAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PdfCertificate : X509Certificate2
Public Class PdfCertificate Inherits X509Certificate2
public ref class PdfCertificate : public X509Certificate2
type PdfCertificate = class inherit X509Certificate2 end
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| PdfCertificate(array<Byte>[]()[][]) |
Signature data
| |
| PdfCertificate(X509Certificate) |
Creates new PdfCertificate from an certificate.
| |
| PdfCertificate(array<Byte>[]()[][], String) |
Signature data
| |
| PdfCertificate(String, String) |
Creates new PdfCertificate from PFX file.
| |
| PdfCertificate(array<Byte>[]()[][], String, X509KeyStorageFlags) |
Signature data
| |
| PdfCertificate(String, String, X509KeyStorageFlags) |
Creates new PdfCertificate from PFX file.
| |
| Archived |
Gets or sets a value indicating that an X.509 certificate is archived.
(Inherited from X509Certificate2.) | |
| Equals(Object) |
Compares two X509Certificate objects for equality.
(Inherited from X509Certificate.) | |
| Equals(X509Certificate) |
Compares two X509Certificate objects for equality.
(Inherited from X509Certificate.) | |
| Export(X509ContentType) |
Exports the current X509Certificate object to a byte array in a format described by one of the X509ContentType values.
(Inherited from X509Certificate.) | |
| 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.) | |
| Export(X509ContentType, SecureString) |
Exports the current X509Certificate object to a byte array using the specified format and a password.
(Inherited from X509Certificate.) | |
| Extensions |
Gets a collection of X509Extension objects.
(Inherited from X509Certificate2.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FindByIssuer(StoreType, String) |
Finds the certificate by issuer.
| |
| FindBySerialId(StoreType, array<Byte>[]()[][]) |
Finds the certificate by serial number.
| |
| FindBySubject(StoreType, String) |
Finds the certificate by subject.
| |
| FriendlyName |
Gets or sets the associated alias for a certificate.
(Inherited from X509Certificate2.) | |
| GetCertHash()()()() |
Returns the hash value for the X.509v3 certificate as an array of bytes.
(Inherited from X509Certificate.) | |
| GetCertHashString()()()() |
Returns the hash value for the X.509v3 certificate as a hexadecimal string.
(Inherited from X509Certificate.) | |
| GetCertificates()()()() |
Gets the certificates in all storages.
| |
| GetEffectiveDateString()()()() |
Returns the effective date of this X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetExpirationDateString()()()() |
Returns the expiration date of this X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetFormat()()()() |
Returns the name of the format of this X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetHashCode()()()() |
Returns the hash code for the X.509v3 certificate as an integer.
(Inherited from X509Certificate.) | |
| GetIssuerName()()()() | Obsolete.
Returns the name of the certification authority that issued the X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetKeyAlgorithm()()()() |
Returns the key algorithm information for this X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetKeyAlgorithmParameters()()()() |
Returns the key algorithm parameters for the X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetKeyAlgorithmParametersString()()()() |
Returns the key algorithm parameters for the X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetName()()()() | Obsolete.
Returns the name of the principal to which the certificate was issued.
(Inherited from X509Certificate.) | |
| GetNameInfo(X509NameType, Boolean) |
Gets the subject and issuer names from a certificate.
(Inherited from X509Certificate2.) | |
| GetPublicKey()()()() |
Returns the public key for the X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetPublicKeyString()()()() |
Returns the public key for the X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetRawCertData()()()() |
Returns the raw data for the entire X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetRawCertDataString()()()() |
Returns the raw data for the entire X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetSerialNumber()()()() |
Returns the serial number of the X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetSerialNumberString()()()() |
Returns the serial number of the X.509v3 certificate.
(Inherited from X509Certificate.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Handle |
Gets a handle to a Microsoft Cryptographic API certificate context described by an unmanaged PCCERT_CONTEXT structure.
(Inherited from X509Certificate.) | |
| HasPrivateKey |
Gets a value that indicates whether an X509Certificate2 object contains a private key.
(Inherited from X509Certificate2.) | |
| Import(array<Byte>[]()[][]) |
Populates an X509Certificate2 object with data from a byte array.
(Inherited from X509Certificate2.) | |
| Import(String) |
Populates an X509Certificate2 object with information from a certificate file.
(Inherited from X509Certificate2.) | |
| Import(array<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.) | |
| Import(array<Byte>[]()[][], SecureString, X509KeyStorageFlags) |
Populates an X509Certificate2 object using data from a byte array, a password, and a key storage flag.
(Inherited from X509Certificate2.) | |
| Import(String, String, X509KeyStorageFlags) |
Populates an X509Certificate2 object with information from a certificate file, a password, and a X509KeyStorageFlags value.
(Inherited from X509Certificate2.) | |
| Import(String, SecureString, X509KeyStorageFlags) |
Populates an X509Certificate2 object with information from a certificate file, a password, and a key storage flag.
(Inherited from X509Certificate2.) | |
| Issuer |
Gets the name of the certificate authority that issued the X.509v3 certificate.
(Inherited from X509Certificate.) | |
| IssuerName |
Gets the distinguished name of the certificate issuer.
(Inherited from X509Certificate2.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NotAfter |
Gets the date in local time after which a certificate is no longer valid.
(Inherited from X509Certificate2.) | |
| NotBefore |
Gets the date in local time on which a certificate becomes valid.
(Inherited from X509Certificate2.) | |
| PrivateKey |
Gets or sets the AsymmetricAlgorithm object that represents the private key associated with a certificate.
(Inherited from X509Certificate2.) | |
| PublicKey |
Gets a PublicKey object associated with a certificate.
(Inherited from X509Certificate2.) | |
| RawData |
Gets the raw data of a certificate.
(Inherited from X509Certificate2.) | |
| Reset()()()() |
Resets the state of an X509Certificate2 object.
(Inherited from X509Certificate2.) | |
| SerialNumber |
Gets the serial number of a certificate.
(Inherited from X509Certificate2.) | |
| SignatureAlgorithm |
Gets the algorithm used to create the signature of a certificate.
(Inherited from X509Certificate2.) | |
| Subject |
Gets the subject distinguished name from the certificate.
(Inherited from X509Certificate.) | |
| SubjectName |
Gets the subject distinguished name from a certificate.
(Inherited from X509Certificate2.) | |
| Thumbprint |
Gets the thumbprint of a certificate.
(Inherited from X509Certificate2.) | |
| ToString()()()() |
Displays an X.509 certificate in text format.
(Inherited from X509Certificate2.) | |
| ToString(Boolean) |
Displays an X.509 certificate in text format.
(Inherited from X509Certificate2.) | |
| Verify()()()() |
Performs a X.509 chain validation using basic validation policy.
(Inherited from X509Certificate2.) | |
| Version |
Gets the X.509 format version of a certificate.
(Inherited from X509Certificate2.) |
Inheritance Hierarchy
System..::..Object
System.Security.Cryptography.X509Certificates..::..X509Certificate
System.Security.Cryptography.X509Certificates..::..X509Certificate2
Spire.Pdf.Security..::..PdfCertificate
System.Security.Cryptography.X509Certificates..::..X509Certificate
System.Security.Cryptography.X509Certificates..::..X509Certificate2
Spire.Pdf.Security..::..PdfCertificate