|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsun.security.x509.CertificatePolicyId
public class CertificatePolicyId
Represent the CertificatePolicyId ASN.1 object.
| Constructor Summary | |
|---|---|
CertificatePolicyId(DerValue val)
Create the object from its Der encoded value. |
|
CertificatePolicyId(ObjectIdentifier id)
Create a CertificatePolicyId with the ObjectIdentifier. |
|
| Method Summary | |
|---|---|
void |
encode(DerOutputStream out)
Write the CertificatePolicyId to the DerOutputStream. |
boolean |
equals(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. |
String |
toString()
Returns a printable representation of the CertificatePolicyId. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CertificatePolicyId(ObjectIdentifier id)
id - the ObjectIdentifier for the policy id.
public CertificatePolicyId(DerValue val)
throws IOException
val - the DER encoded value for the same.
IOException| Method Detail |
|---|
public ObjectIdentifier getIdentifier()
public String toString()
toString in class Object
public void encode(DerOutputStream out)
throws IOException
out - the DerOutputStream to write the object to.
IOException - on errors.public boolean equals(Object other)
equals in class Objectother - the reference object with which to compare.
Object.hashCode(),
Hashtablepublic int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object),
Hashtable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||