com.ibm.security.keystoreski

Interface SKIDefinition


  1. 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

Method Summary

Modifier and Type Method and Description
  1. String
getSubjectKeyIdentifier(X509Certificate cert)
Returns the Subject Key Identifier for a certificate or null if the subject key identifier cannot be determined.

Method Detail

getSubjectKeyIdentifier

  1. String getSubjectKeyIdentifier( X509Certificate cert)
  2. 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.