com.ibm.security12.sun.security.x509
Class CertificatePolicyId
java.lang.Object
|
+--com.ibm.security12.sun.security.x509.CertificatePolicyId
- public class CertificatePolicyId
- extends Object
Represent the CertificatePolicyId ASN.1 object.
- Version:
- 1.7
- Author:
- Amit Kapoor, Hemma Prafullchandra
CertificatePolicyId
public CertificatePolicyId(ObjectIdentifier id)
- Create a CertificatePolicyId with the ObjectIdentifier.
- Parameters:
id
- the ObjectIdentifier for the policy id.
CertificatePolicyId
public CertificatePolicyId(DerValue val)
throws IOException
- Create the object from its Der encoded value.
- Parameters:
val
- the DER encoded value for the same.
getIdentifier
public ObjectIdentifier getIdentifier()
- Return the value of the CertificatePolicyId as an ObjectIdentifier.
toString
public String toString()
- Returns a printable representation of the CertificatePolicyId.
- Overrides:
- toString in class Object
encode
public void encode(DerOutputStream out)
throws IOException
- Write the CertificatePolicyId to the DerOutputStream.
- Parameters:
out
- the DerOutputStream to write the object to.- Throws:
- IOException - on errors.