X509CertificatePolicy Class

Represents a single certificate policy which consists of an object identifier (OID) and optional qualifiers.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public class X509CertificatePolicy
Inheritance
Object    X509CertificatePolicy

Constructors

X509CertificatePolicy(Byte) Initializes a new instance of the X509CertificatePolicy class from a ASN.1-encoded byte array.
X509CertificatePolicy(String) Initializes a new instance of the X509CertificatePolicy class from a string that represents a policy OID value.
X509CertificatePolicy(String, X509PolicyQualifierCollection) Initializes a new instance of the X509CertificatePolicy class from a string that represents a policy OID value and an array of policy qualifiers that are associated with the specified policy OID.

Properties

PolicyOid Gets certificate policy object identifier (OID).
PolicyQualifiers Gets an array of optional certificate policy qualifiers.

Methods

Add Adds policy qualifier to a PolicyQualifiers collection.
Encode Encodes certificate policy to a ASN.1-encoded byte array.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
Remove Removes policy qualifier from a PolicyQualifiers collection by using an item index in the collection.
ToString
(Inherited from Object)

See Also