CertificateChain.BuildFrom Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9119)
BuildFrom(Certificate)
Builds a certificate chain for a specified certificate.
Declaration
public static CertificateChain BuildFrom(Certificate cert)
Parameters
Type | Name | Description |
---|---|---|
Certificate | cert | End certificate. |
Returns
Type | Description |
---|---|
CertificateChain | The chain for an end certificate. |
Remarks
This function builds a certificate chain context starting from an end certificate and going back, if possible, to a trusted root certificate.
BuildFrom(Certificate, CertificateChainEngine)
Builds a certificate chain for a specified certificate.
Declaration
public static CertificateChain BuildFrom(Certificate cert, CertificateChainEngine engine)
Parameters
Type | Name | Description |
---|---|---|
Certificate | cert | End certificate. |
CertificateChainEngine | engine | Certificate chain engine. |
Returns
Type | Description |
---|---|
CertificateChain | The chain for an end certificate. |
Remarks
This function builds a certificate chain context starting from an end certificate and going back, if possible, to a trusted root certificate.
BuildFrom(Certificate, CertificateStore)
Builds a certificate chain for a specified certificate.
Declaration
public static CertificateChain BuildFrom(Certificate cert, CertificateStore store)
Parameters
Type | Name | Description |
---|---|---|
Certificate | cert | End certificate. |
CertificateStore | store | Additional store to search in addition to system stores. |
Returns
Type | Description |
---|---|
CertificateChain | The chain for an end certificate. |
Remarks
This function builds a certificate chain context starting from an end certificate and going back, if possible, to a trusted root certificate.
BuildFrom(Certificate, CertificateStore, CertificateChainEngine)
Builds a certificate chain for a specified certificate.
Declaration
public static CertificateChain BuildFrom(Certificate cert, CertificateStore store, CertificateChainEngine engine)
Parameters
Type | Name | Description |
---|---|---|
Certificate | cert | End certificate. |
CertificateStore | store | Additional store to search in addition to system stores. |
CertificateChainEngine | engine | Certificate chain engine. |
Returns
Type | Description |
---|---|
CertificateChain | The chain for an end certificate. |
Remarks
This function builds a certificate chain context starting from an end certificate and going back, if possible, to a trusted root certificate.