X509AuthorityInformationAccessExtension Constructor (String, String, Boolean) |
Initializes a new instance of the X509AuthorityInformationAccessExtension class by using arrays of
Certification Authority Issuer and Online Certificate Status Protocol (OCSP) URLs.
Namespace:
System.Security.Cryptography.X509Certificates
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public X509AuthorityInformationAccessExtension(
string[] authorityIssuer,
string[] ocsp,
bool ocspFirst = false
)
Public Sub New (
authorityIssuer As String(),
ocsp As String(),
Optional ocspFirst As Boolean = false
)
public:
X509AuthorityInformationAccessExtension(
array<String^>^ authorityIssuer,
array<String^>^ ocsp,
bool ocspFirst = false
)
new :
authorityIssuer : string[] *
ocsp : string[] *
?ocspFirst : bool
(* Defaults:
let _ocspFirst = defaultArg ocspFirst false
*)
-> X509AuthorityInformationAccessExtension
Parameters
- authorityIssuer
- Type: SystemString
An array of strings that point to a issuer certificate. - ocsp
- Type: SystemString
An array of strings that point to a Online Certificate Status Protocol (OCSP) service locations. - ocspFirst (Optional)
- Type: SystemBoolean
Specifies whether OCSP URLs should be placed first.
Exceptions Exception | Condition |
---|
ArgumentNullException | Both authorityIssuer and ocsp parameters are null. |
See Also