public static final class CertificatePoliciesExtension.PolicyQualifier extends Object implements ASN1Encodable
Constructor and Description |
---|
PolicyQualifier(String policyQualifierId,
ASN1Encodable body)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
static CertificatePoliciesExtension.PolicyQualifier |
cpsQualifier(String uri)
Construct a CPS policy qualifier.
|
void |
encodeTo(ASN1Encoder encoder)
Encode this object.
|
static CertificatePoliciesExtension.PolicyQualifier |
userNoticeQualifier(String organizationText,
BigInteger[] noticeNumbers,
String explicitText)
Construct a UserNotice policy qualifier.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8String
public PolicyQualifier(String policyQualifierId, ASN1Encodable body)
policyQualifierId
- the policy qualifier OID (must not be null
)body
- the body of the policy extension (must not be null
)public void encodeTo(ASN1Encoder encoder)
ASN1Encodable
encodeTo
in interface ASN1Encodable
encoder
- the encoder (must not be null
)public static CertificatePoliciesExtension.PolicyQualifier userNoticeQualifier(String organizationText, BigInteger[] noticeNumbers, String explicitText)
organizationText
- the organization text, or null
to skip the NoticeReference sectionnoticeNumbers
- the notice numbers (only used if organization text is given)explicitText
- explicit text for the notice, or null
to skip the DisplayText sectionpublic static CertificatePoliciesExtension.PolicyQualifier cpsQualifier(String uri)
uri
- the CPS URI (must not be null
)Copyright © 2021 JBoss by Red Hat. All rights reserved.