public class CertificatePolicyId
extends java.lang.Object
| 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.
|
boolean |
equals(java.lang.Object other)
Compares this CertificatePolicyId with another, for
equality.
|
ObjectIdentifier |
getIdentifier()
Return the value of the CertificatePolicyId as an ObjectIdentifier.
|
int |
hashCode()
Returns a hash code value for this object.
|
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.IOExceptionpublic ObjectIdentifier getIdentifier()
public java.lang.String toString()
toString in class java.lang.Objectpublic void encode(DerOutputStream out) throws java.io.IOException
out - the DerOutputStream to write the object to.java.io.IOException - on errors.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2020. All Rights Reserved.