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, _ store As CertificateStore _ ) As CertificateChain |
C# |
---|
public static CertificateChain BuildFrom( Certificate cert, CertificateStore store ) |
Parameters
- cert
- Type: Rebex.Security.Certificates..::..Certificate
End certificate.
- store
- Type: Rebex.Security.Certificates..::..CertificateStore
Additional store to search in addition to system stores.
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.