All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.x509.UniqueIdentity

netscape.security.x509.UniqueIdentity

public class UniqueIdentity
This class defines the UniqueIdentity class used by certificates.


Constructor Index

 o UniqueIdentity(BitArray)
The default constructor for this class.
 o UniqueIdentity(byte[])
The default constructor for this class.
 o UniqueIdentity(DerInputStream)
Create the object, decoding the values from the passed DER stream.
 o UniqueIdentity(DerValue)
Create the object, decoding the values from the passed DER stream.

Method Index

 o encode(DerOutputStream, byte)
Encode the UniqueIdentity in DER form to the stream.
 o getId()
Return the unique id.
 o toString()
Return the UniqueIdentity as a printable string.

Constructors

 o UniqueIdentity
 public UniqueIdentity(BitArray id)
The default constructor for this class.

Parameters:
id - the byte array containing the unique identifier.
 o UniqueIdentity
 public UniqueIdentity(byte id[])
The default constructor for this class.

Parameters:
id - the byte array containing the unique identifier.
 o UniqueIdentity
 public UniqueIdentity(DerInputStream in) throws IOException
Create the object, decoding the values from the passed DER stream.

Parameters:
in - the DerInputStream to read the UniqueIdentity from.
Throws: IOException
on decoding errors.
 o UniqueIdentity
 public UniqueIdentity(DerValue derVal) throws IOException
Create the object, decoding the values from the passed DER stream.

Parameters:
derVal - the DerValue decoded from the stream.
tag - the tag the value is encoded under.
Throws: IOException
on decoding errors.

Methods

 o toString
 public String toString()
Return the UniqueIdentity as a printable string.

 o encode
 public void encode(DerOutputStream out,
                    byte tag) throws IOException
Encode the UniqueIdentity in DER form to the stream.

Parameters:
out - the DerOutputStream to marshal the contents to.
tag - enocode it under the following tag.
Throws: IOException
on errors.
 o getId
 public boolean[] getId()
Return the unique id.


All Packages  Class Hierarchy  This Package  Previous  Next  Index