org.gudy.bouncycastle.asn1.x509
Class PolicyMappings
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.PolicyMappings
- All Implemented Interfaces:
- DEREncodable
public class PolicyMappings
- extends ASN1Encodable
PolicyMappings V3 extension, described in RFC3280.
PolicyMappings ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE {
issuerDomainPolicy CertPolicyId,
subjectDomainPolicy CertPolicyId }
- See Also:
- RFC 3280, section 4.2.1.6
PolicyMappings
public PolicyMappings(ASN1Sequence seq)
- Creates a new
PolicyMappings
instance.
- Parameters:
seq
- an ASN1Sequence
constructed as specified
in RFC 3280
PolicyMappings
public PolicyMappings(Hashtable mappings)
- Creates a new
PolicyMappings
instance.
- Parameters:
mappings
- a HashMap
value that maps
String
oids
to other String
oids.
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in class ASN1Encodable