public class CertificatePolicyMap
extends java.lang.Object
Constructor and Description |
---|
CertificatePolicyMap(CertificatePolicyId issuer,
CertificatePolicyId subject)
Create a CertificatePolicyMap with the passed CertificatePolicyId's.
|
CertificatePolicyMap(DerValue val)
Create the CertificatePolicyMap from the DER encoded value.
|
Modifier and Type | Method and Description |
---|---|
void |
encode(DerOutputStream out)
Write the CertificatePolicyMap to the DerOutputStream.
|
CertificatePolicyId |
getIssuerIdentifier()
Return the issuer CA part of the policy map.
|
CertificatePolicyId |
getSubjectIdentifier()
Return the subject CA part of the policy map.
|
java.lang.String |
toString()
Returns a printable representation of the CertificatePolicyId.
|
public CertificatePolicyMap(CertificatePolicyId issuer, CertificatePolicyId subject)
issuer
- the CertificatePolicyId for the issuer CA.subject
- the CertificatePolicyId for the subject CA.public CertificatePolicyMap(DerValue val) throws java.io.IOException
val
- the DER encoded value of the same.java.io.IOException
public CertificatePolicyId getIssuerIdentifier()
public CertificatePolicyId getSubjectIdentifier()
public java.lang.String toString()
toString
in class java.lang.Object
public void encode(DerOutputStream out) throws java.io.IOException
out
- the DerOutputStream to write the object to.java.io.IOException
- on errors.