X509NameConstraintsExtension Class |
Namespace: System.Security.Cryptography.X509Certificates
The X509NameConstraintsExtension type exposes the following members.
Name | Description | |
---|---|---|
X509NameConstraintsExtension(AsnEncodedData) |
Intitializes a new instance of X509NameConstraintsExtension class from
ASN.1-encoded Name Constraints extension value. Name Constraints extension is always marked critical.
| |
X509NameConstraintsExtension(X509AlternativeNameCollection, X509AlternativeNameCollection) |
Intitializes a new instance of X509NameConstraintsExtension class from
a collection of explicitly permitted and excluded subtrees. Name Constraints extension is
always marked critical.
|
Name | Description | |
---|---|---|
Critical | Gets a Boolean value indicating whether the extension is critical. (Inherited from X509Extension.) | |
ExcludedSubtree |
Gets a collection of explicitly disallowed names. Any name matching a restriction in this
collection is invalid regardless of information appearing in the PermittedSubtree
member.
| |
Oid | Gets or sets the Oid value for an AsnEncodedData object. (Inherited from AsnEncodedData.) | |
PermittedSubtree |
Gets a collection of explicitly allowed names. Any name matching a restriction in this
collection is valid only if it is not listed in the ExcludedSubtree collection.
member.
| |
RawData | Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array. (Inherited from AsnEncodedData.) |
Name | Description | |
---|---|---|
CopyFrom | Copies the extension properties of the specified AsnEncodedData object. (Inherited from X509Extension.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Format | Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string. (Inherited from AsnEncodedData.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Encode |
Encodes current extension to ASN.1-encoded byte array.
(Defined by X509ExtensionExtensions.) |