public class SubjectKeyIdentifier extends Extension
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).
Extension| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SubjectKeyIdentifier.Template  | 
| Constructor and Description | 
|---|
SubjectKeyIdentifier(boolean critical,
                    OCTET_STRING keyIdentifier)  | 
SubjectKeyIdentifier(OCTET_STRING keyIdentifier)
Constructs an SubjectKeyIdentifier from its components. 
 | 
encode, encode, getCritical, getExtnId, getExtnValue, getTag, getTemplatepublic SubjectKeyIdentifier(OCTET_STRING keyIdentifier)
keyIdentifier - must not be null.public SubjectKeyIdentifier(boolean critical,
                    OCTET_STRING keyIdentifier)