X509ApplicationPoliciesExtension Constructor (OidCollection, Boolean) |
Initializes a new instance of the X509ApplicationPoliciesExtension class from an array of application
policy object identifiers (OID) 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(
OidCollection applicationPolicies,
bool critical
)
Public Sub New (
applicationPolicies As OidCollection,
critical As Boolean
)
public:
X509ApplicationPoliciesExtension(
OidCollection^ applicationPolicies,
bool critical
)
new :
applicationPolicies : OidCollection *
critical : bool -> X509ApplicationPoliciesExtension
Parameters
- applicationPolicies
- Type: System.Security.CryptographyOidCollection
A collection of application policy OIDs. - critical
- Type: SystemBoolean
True if the extension is critical; otherwise, False.
Exceptions Exception | Condition |
---|
ArgumentNullException | applicationPolicies parameter is null. |
See Also