public final class PolicyMappingsExtension extends X509CertificateExtension
Modifier and Type | Class and Description |
---|---|
static class |
PolicyMappingsExtension.PolicyMapping
A single policy mapping.
|
Constructor and Description |
---|
PolicyMappingsExtension(boolean critical,
List<PolicyMappingsExtension.PolicyMapping> policyMappings)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
encodeTo(ASN1Encoder encoder)
Encode this object.
|
String |
getId()
Get the OID of this extension.
|
encode, getValue, isCritical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8String
public PolicyMappingsExtension(boolean critical, List<PolicyMappingsExtension.PolicyMapping> policyMappings)
critical
- true
if the extension should be marked critical (recommended) or false
otherwisepolicyMappings
- the list of policy mappings (must not be null
)public String getId()
X509CertificateExtension
getId
in interface Extension
getId
in class X509CertificateExtension
null
)public void encodeTo(ASN1Encoder encoder)
ASN1Encodable
encoder
- the encoder (must not be null
)Copyright © 2020 JBoss by Red Hat. All rights reserved.