Opc.Ua.Security.Certificates
AddRevokedCertificate(X509Certificate2,CRLReason) Method



Opc.Ua.Security.Certificates Namespace > CrlBuilder Class > AddRevokedCertificate Method : AddRevokedCertificate(X509Certificate2,CRLReason) Method
The certificate to revoke.
The revocation reason
Add a revoked certificate.
Syntax
'Declaration
 
Public Overloads Function AddRevokedCertificate( _
   ByVal certificate As X509Certificate2, _
   Optional ByVal crlReason As CRLReason _
) As CrlBuilder
'Usage
 
Dim instance As CrlBuilder
Dim certificate As X509Certificate2
Dim crlReason As CRLReason
Dim value As CrlBuilder
 
value = instance.AddRevokedCertificate(certificate, crlReason)
public CrlBuilder AddRevokedCertificate( 
   X509Certificate2 certificate,
   CRLReason crlReason
)
public:
CrlBuilder^ AddRevokedCertificate( 
   X509Certificate2^ certificate,
   CRLReason crlReason
) 

Parameters

certificate
The certificate to revoke.
crlReason
The revocation reason
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CrlBuilder Class
CrlBuilder Members
Overload List