Method | Description | |
---|---|---|
BeginVerifyChain ( string server, AuthType type, VerificationFlags flags, AsyncCallback callback, object asyncState ) : IAsyncResult |
Begins verification of the end Certificate according to the SSL policy rules.
|
|
CertificateChain ( Org.Mentalis.Security.Certificates.Certificate cert ) : System |
Initializes a new CertificateChain instance from a Certificate. cert will always be the end certificate. |
|
CertificateChain ( Org.Mentalis.Security.Certificates.Certificate cert, Org.Mentalis.Security.Certificates.CertificateStore additional ) : System |
Initializes a new CertificateChain instance from a Certificate. cert will always be the end certificate. |
|
CertificateChain ( Org.Mentalis.Security.Certificates.Certificate cert, Org.Mentalis.Security.Certificates.CertificateStore additional, CertificateChainOptions options ) : System |
Initializes a new CertificateChain instance from a Certificate. cert will always be the end certificate. |
|
EndVerifyChain ( IAsyncResult ar ) : CertificateStatus |
Ends a pending asynchronous certificate verification request.
|
|
GetCertificates ( ) : Org.Mentalis.Security.Certificates.Certificate[] |
Returns the list of certificates in this CertificateChain. The certificate with index 0 is the end certificate in the chain, the certificate with the highest index is the root certificate [if it can be found]. |
|
VerifyChain ( string server, AuthType type ) : CertificateStatus |
Verifies the end Certificate according to the SSL policy rules.
|
|
VerifyChain ( string server, AuthType type, VerificationFlags flags ) : CertificateStatus |
Verifies the end Certificate according to the SSL policy rules.
|
|
VerifyChain ( string server, AuthType type, VerificationFlags flags, byte crl ) : CertificateStatus |
Verifies the end Certificate according to the SSL policy rules. Only the leaf certificate is checked against the CRL. |
Method | Description | |
---|---|---|
StartVerification ( object state ) : void |
Verifies a certificate chain and calls a delegate when finished.
|
public BeginVerifyChain ( string server, AuthType type, VerificationFlags flags, AsyncCallback callback, object asyncState ) : IAsyncResult | ||
server | string | The server that returned the certificate -or- a null reference if the certificate is a client certificate. |
type | AuthType | One of the |
flags | VerificationFlags | One or more of the |
callback | AsyncCallback | The |
asyncState | object | An object that contains state information for this request. |
return | IAsyncResult |
public CertificateChain ( Org.Mentalis.Security.Certificates.Certificate cert ) : System | ||
cert | Org.Mentalis.Security.Certificates.Certificate | The certificate for which a chain is being built. |
return | System |
public CertificateChain ( Org.Mentalis.Security.Certificates.Certificate cert, Org.Mentalis.Security.Certificates.CertificateStore additional ) : System | ||
cert | Org.Mentalis.Security.Certificates.Certificate | The certificate for which a chain is being built. |
additional | Org.Mentalis.Security.Certificates.CertificateStore | Any additional store to be searched for supporting certificates and CTLs. |
return | System |
public CertificateChain ( Org.Mentalis.Security.Certificates.Certificate cert, Org.Mentalis.Security.Certificates.CertificateStore additional, CertificateChainOptions options ) : System | ||
cert | Org.Mentalis.Security.Certificates.Certificate | The certificate for which a chain is being built. |
additional | Org.Mentalis.Security.Certificates.CertificateStore | Any additional store to be searched for supporting certificates and CTLs. |
options | CertificateChainOptions | Additional certificate chain options. |
return | System |
public EndVerifyChain ( IAsyncResult ar ) : CertificateStatus | ||
ar | IAsyncResult | Stores state information for this asynchronous operation as well as any user-defined data. |
return | CertificateStatus |
public GetCertificates ( ) : Org.Mentalis.Security.Certificates.Certificate[] | ||
return | Org.Mentalis.Security.Certificates.Certificate[] |
protected StartVerification ( object state ) : void | ||
state | object | Stores state information for this asynchronous operation as well as any user-defined data. |
return | void |
public VerifyChain ( string server, AuthType type ) : CertificateStatus | ||
server | string | The server that returned the certificate -or- a null reference if the certificate is a client certificate. |
type | AuthType | One of the |
return | CertificateStatus |
public VerifyChain ( string server, AuthType type, VerificationFlags flags ) : CertificateStatus | ||
server | string | The server that returned the certificate -or- a null reference if the certificate is a client certificate. |
type | AuthType | One of the |
flags | VerificationFlags | One or more of the |
return | CertificateStatus |
public VerifyChain ( string server, AuthType type, VerificationFlags flags, byte crl ) : CertificateStatus | ||
server | string | The server that returned the certificate -or- a null reference if the certificate is a client certificate. |
type | AuthType | One of the |
flags | VerificationFlags | One or more of the |
crl | byte | An optional CRL to check. This parameter can be null (Nothing in Visual Basic). |
return | CertificateStatus |