All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.x509.extensions.SubjectKeyIdentifier

java.lang.Object
   |
   +----iaik.x509.V3Extension
           |
           +----iaik.x509.extensions.SubjectKeyIdentifier

public class SubjectKeyIdentifier
extends V3Extension
This class implements the SubjectKeyIdentifier Extension.


Constructor Index

 o SubjectKeyIdentifier()
Default constructor.
 o SubjectKeyIdentifier(byte[])
Construct a SubjectKeyIdentifier extension with a defined identifier.

Method Index

 o get()
Returns the identifier of this extension.
 o getObjectID()
Returns the object ID of this extension
 o hashCode()
Returns a hashcode for this identity.
 o init(ASN1Object)
Inits this implementation of an extension with an ASN1Object.
 o set(byte[])
Sets the identifier of this extension.
 o toASN1Object()
Returns the value of this extension as ASN1Object.
 o toString()
Returns a string that represents the contents of the extensions.

Constructors

 o SubjectKeyIdentifier
 public SubjectKeyIdentifier()
Default constructor. Creates an empty object.

 o SubjectKeyIdentifier
 public SubjectKeyIdentifier(byte identifier[])
Construct a SubjectKeyIdentifier extension with a defined identifier.

Parameters:
identifier - the subject key identifier

Methods

 o getObjectID
 public ObjectID getObjectID()
Returns the object ID of this extension

Returns:
the object ID
Overrides:
getObjectID in class V3Extension
 o init
 public void init(ASN1Object obj)
Inits this implementation of an extension with an ASN1Object. The ASN1Object is the extensionValue from ASN.1 type "Extension". The ASN1Object is the one created by toASN1Object().

Parameters:
obj - the extensionValue as ASN1Object
Overrides:
init in class V3Extension
See Also:
toASN1Object
 o toASN1Object
 public ASN1Object toASN1Object()
Returns the value of this extension as ASN1Object. The ASN1Object is the extensionValue from ASN.1 type "Extension". The created ASN1Object is same, which is the parameter to method init.

Returns:
the value of the extension as ASN1Object
Overrides:
toASN1Object in class V3Extension
See Also:
init
 o set
 public void set(byte identifier[])
Sets the identifier of this extension.

Parameters:
identifier - a identifier
 o get
 public byte[] get()
Returns the identifier of this extension.

Returns:
a identifier
 o hashCode
 public int hashCode()
Returns a hashcode for this identity.

Returns:
a hash code for this identity
Overrides:
hashCode in class V3Extension
 o toString
 public String toString()
Returns a string that represents the contents of the extensions.

Returns:
the string representation
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index