| |
|
| java.lang.Object sun.security.x509.CertificatePolicyId
CertificatePolicyId | public class CertificatePolicyId (Code) | | Represent the CertificatePolicyId ASN.1 object.
author: Amit Kapoor author: Hemma Prafullchandra version: 1.9 |
Method Summary | |
public void | encode(DerOutputStream out) Write the CertificatePolicyId to the DerOutputStream. | public boolean | equals(Object other) Compares this CertificatePolicyId with another, for
equality. | public ObjectIdentifier | getIdentifier() Return the value of the CertificatePolicyId as an ObjectIdentifier. | public int | hashCode() Returns a hash code value for this object. | public String | toString() Returns a printable representation of the CertificatePolicyId. |
CertificatePolicyId | public CertificatePolicyId(ObjectIdentifier id)(Code) | | Create a CertificatePolicyId with the ObjectIdentifier.
Parameters: id - the ObjectIdentifier for the policy id. |
CertificatePolicyId | public CertificatePolicyId(DerValue val) throws IOException(Code) | | Create the object from its Der encoded value.
Parameters: val - the DER encoded value for the same. |
encode | public void encode(DerOutputStream out) throws IOException(Code) | | Write the CertificatePolicyId to the DerOutputStream.
Parameters: out - the DerOutputStream to write the object to. exception: IOException - on errors. |
equals | public boolean equals(Object other)(Code) | | Compares this CertificatePolicyId with another, for
equality. Uses ObjectIdentifier.equals() as test for
equality.
true iff the ids are identical. |
getIdentifier | public ObjectIdentifier getIdentifier()(Code) | | Return the value of the CertificatePolicyId as an ObjectIdentifier.
|
hashCode | public int hashCode()(Code) | | Returns a hash code value for this object.
a hash code value |
toString | public String toString()(Code) | | Returns a printable representation of the CertificatePolicyId.
|
|
|
|