public class

CertificatePolicyMap

extends Object
java.lang.Object
   ↳ sun.security.x509.CertificatePolicyMap

Class Overview

Represent the CertificatePolicyMap ASN.1 object.

Summary

Public Constructors
CertificatePolicyMap(CertificatePolicyId issuer, CertificatePolicyId subject)
Create a CertificatePolicyMap with the passed CertificatePolicyId's.
CertificatePolicyMap(DerValue val)
Create the CertificatePolicyMap from the DER encoded value.
Public Methods
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.
String toString()
Returns a printable representation of the CertificatePolicyId.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

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.

public CertificatePolicyMap (DerValue val)

Create the CertificatePolicyMap from the DER encoded value.

Parameters
val the DER encoded value of the same.
Throws
IOException

Public Methods

public void encode (DerOutputStream out)

Write the CertificatePolicyMap to the DerOutputStream.

Parameters
out the DerOutputStream to write the object to.
Throws
IOException on errors.

public CertificatePolicyId getIssuerIdentifier ()

Return the issuer CA part of the policy map.

public CertificatePolicyId getSubjectIdentifier ()

Return the subject CA part of the policy map.

public String toString ()

Returns a printable representation of the CertificatePolicyId.

Returns
  • a string representation of the object.