X509ApplicationPoliciesExtension Constructor (AsnEncodedData, Boolean) |
Initializes a new instance of the X509ApplicationPoliciesExtension class using an
AsnEncodedData object and a value that identifies whether the extension is critical.
Namespace:
System.Security.Cryptography.X509Certificates
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public X509ApplicationPoliciesExtension(
AsnEncodedData applicationPolicies,
bool critical
)
Public Sub New (
applicationPolicies As AsnEncodedData,
critical As Boolean
)
public:
X509ApplicationPoliciesExtension(
AsnEncodedData^ applicationPolicies,
bool critical
)
new :
applicationPolicies : AsnEncodedData *
critical : bool -> X509ApplicationPoliciesExtension
Parameters
- applicationPolicies
- Type: System.Security.CryptographyAsnEncodedData
The encoded data to use to create the extension. - critical
- Type: SystemBoolean
True if the extension is critical; otherwise, False.
Exceptions Exception | Condition |
---|
ArgumentException | The data in the applicationPolicies parameter is not valid extension value. |
See Also