APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.x509

public Class CertificatePolicyMap

extends Object
implements DerEncoder
Class Inheritance
All Implemented Interfaces
sun.security.util.DerEncoder
Imports
java.io.IOException, java.util.Objects, sun.security.util.*

Represent the CertificatePolicyMap ASN.1 object.
Authors
Amit Kapoor, Hemma Prafullchandra

Field Summary

Modifier and TypeField and Description
private final CertificatePolicyId
private final CertificatePolicyId

Constructor Summary

AccessConstructor and Description
public
CertificatePolicyMap(CertificatePolicyId
the CertificatePolicyId for the issuer CA.
issuer
,
CertificatePolicyId
the CertificatePolicyId for the subject CA.
subject
)

Create a CertificatePolicyMap with the passed CertificatePolicyId's.

public
CertificatePolicyMap(DerValue
the DER encoded value of the same.
val
)

Create the CertificatePolicyMap from the DER encoded value.

Method Summary

Modifier and TypeMethod and Description
public void
encode(DerOutputStream
the DerOutputStream to write the object to.
out
)

Implements sun.security.util.DerEncoder.encode.

Write the CertificatePolicyMap to the DerOutputStream.

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()

Overrides java.lang.Object.toString.

Returns a printable representation of the CertificatePolicyId.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

issuerDomainback to summary
private final CertificatePolicyId issuerDomain
subjectDomainback to summary
private final CertificatePolicyId subjectDomain

Constructor Detail

CertificatePolicyMapback to summary
public CertificatePolicyMap(CertificatePolicyId issuer, CertificatePolicyId subject)

Create a CertificatePolicyMap with the passed CertificatePolicyId's.

Parameters
issuer:CertificatePolicyId

the CertificatePolicyId for the issuer CA.

subject:CertificatePolicyId

the CertificatePolicyId for the subject CA.

CertificatePolicyMapback to summary
public CertificatePolicyMap(DerValue val) throws IOException

Create the CertificatePolicyMap from the DER encoded value.

Parameters
val:DerValue

the DER encoded value of the same.

Method Detail

encodeback to summary
public void encode(DerOutputStream out)

Implements sun.security.util.DerEncoder.encode.

Write the CertificatePolicyMap to the DerOutputStream.

Parameters
out:DerOutputStream

the DerOutputStream to write the object to.

Annotations
@Override
getIssuerIdentifierback to summary
public CertificatePolicyId getIssuerIdentifier()

Return the issuer CA part of the policy map.

getSubjectIdentifierback to summary
public CertificatePolicyId getSubjectIdentifier()

Return the subject CA part of the policy map.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns a printable representation of the CertificatePolicyId.