The CertificateChain type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CertificateChain()()()() |
Creates an empty certificate chain.
| |
CertificateChain(array<Certificate>[]()[][]) |
Creates a certificate chain from an array of certificates.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds a certificate to the end of the chain.
This certificate represents authority for the previous certificate in the chain
(Leaf certificate is at the beginning of the chain, Root certificate is at the end of the chain).
| |
BuildFrom(Certificate) |
Builds a certificate chain for a specified certificate.
| |
BuildFrom(Certificate, CertificateChainEngine) |
Builds a certificate chain for a specified certificate.
| |
BuildFrom(Certificate, CertificateStore) |
Builds a certificate chain for a specified certificate.
| |
BuildFrom(Certificate, CertificateStore, CertificateChainEngine) |
Builds a certificate chain for a specified certificate.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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.) | |
GetEnumerator |
Gets an IEnumerator<(Of <(<'T>)>)> for the CertificateChain collection.
| |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LoadDer |
Loads a chain of Base-64-encoded X509 certificates from the specified file.
| |
LoadP7b(Stream) |
Loads a PKCS #7 (.p7b) encoded CertificateChain from the specified file.
| |
LoadP7b(String) |
Loads CertificateChain from the specified PKCS #7 (.p7b) file.
| |
LoadPfx(array<Byte>[]()[][], String) |
Loads a certificate with a private key from a PKCS#12 (PFX) array.
| |
LoadPfx(String, String) |
Loads a certificate with a private key from a PKCS#12 (PFX) file.
| |
LoadPfx(array<Byte>[]()[][], String, KeySetOptions) |
Loads a certificate with a private key from a PKCS #12 (.p12/.pfx) array.
| |
LoadPfx(String, String, KeySetOptions) |
Loads a certificate with a private key from a PKCS#12 (PFX) file.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save(Stream) |
Saves the certificate chain to the specified stream in .P7B (PKCS #7) format.
| |
Save(String) |
Saves the certificate chain to the specified path as a .P7B (PKCS #7) file.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
Validate()()()() |
Verifies the validity of the certificate chain.
| |
Validate(ValidationOptions) |
Verifies the validity of the certificate chain, including its compliance with the specified criteria.
| |
Validate(String, ValidationOptions) |
Verifies the validity of the certificate chain, including its compliance with the specified criteria.
| |
Validate(String, ValidationOptions, CertificateChainEngine) |
Verifies the validity of the certificate chain, including its compliance with the specified criteria,
using the specified chain engine.
| |
VerifyHash |
Verifies the specified signature data by comparing it to the signature computed for the specified hash value.
|
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of certificates in the chain.
| |
DefaultEngine | Obsolete. | |
Item |
Gets or sets the certificate at the specified position.
| |
LeafCertificate |
Gets the first certificate in the chain, if not empty.
| |
RootCertificate |
Gets the certificate of the root certification authority, if available.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable..::..GetEnumerator |