Builds a certificate chain for a specified certificate.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Shared Function BuildFrom ( _ cert As Certificate, _ engine As CertificateChainEngine _ ) As CertificateChain |
C# |
---|
public static CertificateChain BuildFrom( Certificate cert, CertificateChainEngine engine ) |
Parameters
- cert
- Type: Rebex.Security.Certificates..::..Certificate
End certificate.
- engine
- Type: Rebex.Security.Certificates..::..CertificateChainEngine
Certificate chain engine.
Return Value
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.