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

public Class CertificatePolicySet

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

This class defines the certificate policy set ASN.1 object.
Authors
Amit Kapoor, Hemma Prafullchandra

Field Summary

Modifier and TypeField and Description
private final Vector<CertificatePolicyId>

Constructor Summary

AccessConstructor and Description
public
CertificatePolicySet(Vector<CertificatePolicyId>
the sequence of CertificatePolicyId's.
ids
)

The default constructor for this class.

public
CertificatePolicySet(DerInputStream
the passed DerInputStream.
in
)

Create the object from the DerValue.

Method Summary

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

Implements sun.security.util.DerEncoder.encode.

Encode the policy set to the output stream.

public List<CertificatePolicyId>

Returns:

A List containing the CertificatePolicyId objects.
getCertPolicyIds
()

Return the sequence of CertificatePolicyIds.

public String
toString()

Overrides java.lang.Object.toString.

Return printable form of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

idsback to summary
private final Vector<CertificatePolicyId> ids

Constructor Detail

CertificatePolicySetback to summary
public CertificatePolicySet(Vector<CertificatePolicyId> ids)

The default constructor for this class.

Parameters
ids:Vector<CertificatePolicyId>

the sequence of CertificatePolicyId's.

CertificatePolicySetback to summary
public CertificatePolicySet(DerInputStream in) throws IOException

Create the object from the DerValue.

Parameters
in:DerInputStream

the passed DerInputStream.

Exceptions
IOException:
on decoding errors.

Method Detail

encodeback to summary
public void encode(DerOutputStream out)

Implements sun.security.util.DerEncoder.encode.

Encode the policy set to the output stream.

Parameters
out:DerOutputStream

the DerOutputStream to encode the data to.

Annotations
@Override
getCertPolicyIdsback to summary
public List<CertificatePolicyId> getCertPolicyIds()

Return the sequence of CertificatePolicyIds.

Returns:List<CertificatePolicyId>

A List containing the CertificatePolicyId objects.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Return printable form of the object.