| java.lang.Object sun.security.x509.UniqueIdentity
UniqueIdentity | public class UniqueIdentity (Code) | | This class defines the UniqueIdentity class used by certificates.
author: Amit Kapoor author: Hemma Prafullchandra version: 1.10 |
Method Summary | |
public void | encode(DerOutputStream out, byte tag) Encode the UniqueIdentity in DER form to the stream. | public boolean[] | getId() Return the unique id. | public String | toString() Return the UniqueIdentity as a printable string. |
UniqueIdentity | public UniqueIdentity(BitArray id)(Code) | | The default constructor for this class.
Parameters: id - the byte array containing the unique identifier. |
UniqueIdentity | public UniqueIdentity(byte[] id)(Code) | | The default constructor for this class.
Parameters: id - the byte array containing the unique identifier. |
UniqueIdentity | public UniqueIdentity(DerInputStream in) throws IOException(Code) | | Create the object, decoding the values from the passed DER stream.
Parameters: in - the DerInputStream to read the UniqueIdentity from. exception: IOException - on decoding errors. |
UniqueIdentity | public UniqueIdentity(DerValue derVal) throws IOException(Code) | | Create the object, decoding the values from the passed DER stream.
Parameters: derVal - the DerValue decoded from the stream. Parameters: tag - the tag the value is encoded under. exception: IOException - on decoding errors. |
encode | public void encode(DerOutputStream out, byte tag) throws IOException(Code) | | Encode the UniqueIdentity in DER form to the stream.
Parameters: out - the DerOutputStream to marshal the contents to. Parameters: tag - enocode it under the following tag. exception: IOException - on errors. |
getId | public boolean[] getId()(Code) | | Return the unique id.
|
toString | public String toString()(Code) | | Return the UniqueIdentity as a printable string.
|
|
|