Class CertificatePolicyMap
- java.lang.Object
-
- org.mozilla.jss.netscape.security.x509.CertificatePolicyMap
-
public class CertificatePolicyMap extends java.lang.ObjectRepresent the CertificatePolicyMap ASN.1 object.
-
-
Constructor Summary
Constructors Constructor Description CertificatePolicyMap(DerValue val)Create the CertificatePolicyMap from the DER encoded value.CertificatePolicyMap(CertificatePolicyId issuer, CertificatePolicyId subject)Create a CertificatePolicyMap with the passed CertificatePolicyId's.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(DerOutputStream out)Write the CertificatePolicyMap to the DerOutputStream.CertificatePolicyIdgetIssuerIdentifier()Return the issuer CA part of the policy map.CertificatePolicyIdgetSubjectIdentifier()Return the subject CA part of the policy map.java.lang.StringtoString()Returns a printable representation of the CertificatePolicyId.
-
-
-
Constructor Detail
-
CertificatePolicyMap
public CertificatePolicyMap(CertificatePolicyId issuer, CertificatePolicyId subject)
Create a CertificatePolicyMap with the passed CertificatePolicyId's.- Parameters:
issuer- the CertificatePolicyId for the issuer CA.subject- the CertificatePolicyId for the subject CA.
-
CertificatePolicyMap
public CertificatePolicyMap(DerValue val) throws java.io.IOException
Create the CertificatePolicyMap from the DER encoded value.- Parameters:
val- the DER encoded value of the same.- Throws:
java.io.IOException
-
-
Method Detail
-
getIssuerIdentifier
public CertificatePolicyId getIssuerIdentifier()
Return the issuer CA part of the policy map.
-
getSubjectIdentifier
public CertificatePolicyId getSubjectIdentifier()
Return the subject CA part of the policy map.
-
toString
public java.lang.String toString()
Returns a printable representation of the CertificatePolicyId.- Overrides:
toStringin classjava.lang.Object
-
encode
public void encode(DerOutputStream out) throws java.io.IOException
Write the CertificatePolicyMap to the DerOutputStream.- Parameters:
out- the DerOutputStream to write the object to.- Throws:
java.io.IOException- on errors.
-
-