public class

CertificatePolicySet

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

Class Overview

This class defines the certificate policy set ASN.1 object.

Summary

Public Constructors
CertificatePolicySet(Vector<CertificatePolicyId> ids)
The default constructor for this class.
CertificatePolicySet(DerInputStream in)
Create the object from the DerValue.
Public Methods
void encode(DerOutputStream out)
Encode the policy set to the output stream.
List<CertificatePolicyId> getCertPolicyIds()
Return the sequence of CertificatePolicyIds.
String toString()
Return printable form of the object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CertificatePolicySet (Vector<CertificatePolicyId> ids)

The default constructor for this class.

Parameters
ids the sequence of CertificatePolicyId's.

public CertificatePolicySet (DerInputStream in)

Create the object from the DerValue.

Parameters
in the passed DerInputStream.
Throws
IOException on decoding errors.

Public Methods

public void encode (DerOutputStream out)

Encode the policy set to the output stream.

Parameters
out the DerOutputStream to encode the data to.
Throws
IOException

public List<CertificatePolicyId> getCertPolicyIds ()

Return the sequence of CertificatePolicyIds.

Returns
  • A List containing the CertificatePolicyId objects.

public String toString ()

Return printable form of the object.

Returns
  • a string representation of the object.