Class CertificatePolicyMap
java.lang.Object
org.mozilla.jss.netscape.security.x509.CertificatePolicyMap
Represent the CertificatePolicyMap ASN.1 object.
- Version:
- 1.5
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate the CertificatePolicyMap from the DER encoded value.CertificatePolicyMap(CertificatePolicyId issuer, CertificatePolicyId subject) Create a CertificatePolicyMap with the passed CertificatePolicyId's. -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(DerOutputStream out) Write the CertificatePolicyMap to the DerOutputStream.Return the issuer CA part of the policy map.Return the subject CA part of the policy map.toString()Returns a printable representation of the CertificatePolicyId.
-
Field Details
-
issuerDomain
-
subjectDomain
-
-
Constructor Details
-
CertificatePolicyMap
Create a CertificatePolicyMap with the passed CertificatePolicyId's.- Parameters:
issuer- the CertificatePolicyId for the issuer CA.subject- the CertificatePolicyId for the subject CA.
-
CertificatePolicyMap
Create the CertificatePolicyMap from the DER encoded value.- Parameters:
val- the DER encoded value of the same.- Throws:
IOException
-
-
Method Details
-
getIssuerIdentifier
Return the issuer CA part of the policy map. -
getSubjectIdentifier
Return the subject CA part of the policy map. -
toString
Returns a printable representation of the CertificatePolicyId. -
encode
Write the CertificatePolicyMap to the DerOutputStream.- Parameters:
out- the DerOutputStream to write the object to.- Throws:
IOException- on errors.
-