org.apache.geronimo.util.asn1.x509
Class PolicyMappings

java.lang.Object
  extended by org.apache.geronimo.util.asn1.ASN1Encodable
      extended by org.apache.geronimo.util.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

Constructor Summary
PolicyMappings(ASN1Sequence seq)
          Creates a new PolicyMappings instance.
PolicyMappings(Hashtable mappings)
          Creates a new PolicyMappings instance.
 
Method Summary
 DERObject toASN1Object()
           
 
Methods inherited from class org.apache.geronimo.util.asn1.ASN1Encodable
equals, getDERObject, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

toASN1Object

public DERObject toASN1Object()
Specified by:
toASN1Object in class ASN1Encodable


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.