com.ibm.security.keystoreski
Interface SKIDefinition
public interface SKIDefinition
Defines the process of extracting a Subject Key Identifier from a Certificate. This may include inspection of
the extensions fields of the certificate, generating a hash of the certificate or some other attempt to identify the
certificate. RFC 3280 Section 4.2.1.2 specifies various recommended
methods of generating the Subject Key Identifier for a certificate.
- See Also:
- RFC 3280 Section 4.2.1.2
getSubjectKeyIdentifier
String getSubjectKeyIdentifier(X509Certificate cert)
throws NullPointerException
- Returns the Subject Key Identifier for a certificate or
null if the subject key identifier cannot
be determined.
- Parameters:
cert - The certificate for which to obtain the Subject Key Identifier for.
- Returns:
- The Subject Key Identifier for a certificate or
null if the subject key identifier cannot
be determined.
- Throws:
NullPointerException - If cert is null.