Class UniqueIdentity
java.lang.Object
org.mozilla.jss.netscape.security.x509.UniqueIdentity
This class defines the UniqueIdentity class used by certificates.
- Version:
- 1.6
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUniqueIdentity
(byte[] id) The default constructor for this class.The default constructor for this class.Create the object, decoding the values from the passed DER stream.UniqueIdentity
(DerValue derVal) Create the object, decoding the values from the passed DER stream. -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(DerOutputStream out, byte tag) Encode the UniqueIdentity in DER form to the stream.boolean[]
getId()
Return the unique id.toString()
Return the UniqueIdentity as a printable string.
-
Field Details
-
id
-
-
Constructor Details
-
UniqueIdentity
The default constructor for this class.- Parameters:
id
- the byte array containing the unique identifier.
-
UniqueIdentity
public UniqueIdentity(byte[] id) The default constructor for this class.- Parameters:
id
- the byte array containing the unique identifier.
-
UniqueIdentity
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.
-
UniqueIdentity
Create the object, decoding the values from the passed DER stream.- Parameters:
derVal
- the DerValue decoded from the stream.- Throws:
IOException
- on decoding errors.
-
-
Method Details
-
toString
Return the UniqueIdentity as a printable string. -
encode
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.
-
getId
public boolean[] getId()Return the unique id.
-