public class CertificatePolicyId
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CertificatePolicyId(DerValue val)
Create the object from its Der encoded value.
|
CertificatePolicyId(ObjectIdentifier id)
Create a CertificatePolicyId with the ObjectIdentifier.
|
Modifier and Type | Method and Description |
---|---|
void |
encode(DerOutputStream out)
Write the CertificatePolicyId to the DerOutputStream.
|
ObjectIdentifier |
getIdentifier()
Return the value of the CertificatePolicyId as an ObjectIdentifier.
|
java.lang.String |
toString()
Returns a printable representation of the CertificatePolicyId.
|
public CertificatePolicyId(ObjectIdentifier id)
id
- the ObjectIdentifier for the policy id.public CertificatePolicyId(DerValue val) throws java.io.IOException
val
- the DER encoded value for the same.java.io.IOException
public ObjectIdentifier getIdentifier()
public java.lang.String toString()
toString
in class java.lang.Object
public void encode(DerOutputStream out) throws java.io.IOException
out
- the DerOutputStream to write the object to.java.io.IOException
- on errors.