Method | Description | |
---|---|---|
CertificateValidator ( ) : System |
The default constructor.
|
|
GetIssuers ( |
Returns the issuers for the certificate.
|
|
GetIssuers ( |
Returns the issuers for the certificates.
|
|
Update ( ApplicationConfiguration configuration ) : System.Threading.Tasks.Task |
Updates the validator with the current state of the configuration.
|
|
Update ( |
Updates the validator with the current state of the configuration.
|
|
Update ( |
Updates the validator with a new set of trust lists.
|
|
Validate ( |
Validates the specified certificate against the trust list.
|
|
Validate ( |
Validates a certificate. Each UA application may have a list of trusted certificates that is different from all other UA applications that may be running on the same machine. As a result, the certificate validator cannot rely completely on the Windows certificate store and user or machine specific CTLs (certificate trust lists). The validator constructs the trust chain for the certificate and follows the chain until it finds a certification that is in the application trust list. Non-fatal trust chain errors (i.e. certificate expired) are ignored if the certificate is in the application trust list. If no certificate in the chain is trusted then the validator will still accept the certification if there are no trust chain errors. The validator may be configured to ignore the application trust list and/or trust chain. |
Method | Description | |
---|---|---|
InternalValidate ( |
Throws an exception if validation fails.
|
Method | Description | |
---|---|---|
CheckChainStatus ( |
||
FindAuthorityKeyIdentifier ( |
Returns the authority key identifier in the certificate.
|
|
FindSubjectKeyIdentifierExtension ( |
Returns the authority key identifier in the certificate.
|
|
GetChannelValidator ( ) : Opc.Ua.X509CertificateValidator | ||
GetIssuer ( |
Returns the certificate information for a trusted issuer certificate.
|
|
GetTrustedCertificate ( |
Returns the certificate information for a trusted peer certificate.
|
|
IsIssuerAllowed ( |
Determines whether the certificate is allowed to be an issuer.
|
|
Match ( |
Returns true if the certificate matches the criteria.
|
|
SaveCertificate ( |
Saves the certificate in the invalid certificate directory.
|
public GetIssuers ( |
||
certificate | The certificate. | |
issuers | List |
The issuers. |
return | Task |
public GetIssuers ( |
||
certificates | ||
issuers | List |
|
return | Task |
protected InternalValidate ( |
||
certificates | The certificates to be checked. | |
return | System.Threading.Tasks.Task |
public Update ( ApplicationConfiguration configuration ) : System.Threading.Tasks.Task | ||
configuration | ApplicationConfiguration | |
return | System.Threading.Tasks.Task |
public Update ( |
||
configuration | ||
return | System.Threading.Tasks.Task |
public Update ( |
||
issuerStore | ||
trustedStore | ||
rejectedCertificateStore | CertificateStoreIdentifier | |
return | void |
public Validate ( |
||
certificate | The certificate. | |
return | void |
public Validate ( |
||
chain | ||
return | void |