You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

Class SubjectKeyIdentifier

  extended by org.mozilla.jss.pkix.cert.Extension
      extended by org.mozilla.jss.pkix.cert.SubjectKeyIdentifier
All Implemented Interfaces:

public class SubjectKeyIdentifier
extends Extension

Represent the Subject Key Identifier Extension. This extension, if present, provides a means of identifying the particular public key used in an application. This extension by default is marked non-critical.

Extensions are addiitonal attributes which can be inserted in a X509 v3 certificate. For example a "Driving License Certificate" could have the driving license number as a extension.

Extensions are represented as a sequence of the extension identifier (Object Identifier), a boolean flag stating whether the extension is to be treated as being critical and the extension value itself (this is again a DER encoding of the extension value).

See Also:

Nested Class Summary
static class SubjectKeyIdentifier.Template
Field Summary
Fields inherited from class org.mozilla.jss.pkix.cert.Extension
Constructor Summary
SubjectKeyIdentifier(boolean critical, OCTET_STRING keyIdentifier)
SubjectKeyIdentifier(OCTET_STRING keyIdentifier)
          Constructs an SubjectKeyIdentifier from its components.
Method Summary
Methods inherited from class org.mozilla.jss.pkix.cert.Extension
encode, encode, getCritical, getExtnId, getExtnValue, getTag, getTemplate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SubjectKeyIdentifier(OCTET_STRING keyIdentifier)
Constructs an SubjectKeyIdentifier from its components.

keyIdentifier - must not be null.


public SubjectKeyIdentifier(boolean critical,
                            OCTET_STRING keyIdentifier)