com.ibm.security.certclient.util

Interface Pk10Certificate


  1. public interface Pk10Certificate
This interface describes the Pk10Certificate object that is returned from the Pk10CertificateFactory class. The Pk10CertificateFactory class contains methods which accept as input a CertificationRequest and return a Pk10Certificate object without communicating with a remote Certificate Authority.

Method Summary

Modifier and Type Method and Description
  1. X509Certificate
getCertificate()
Extract the X509 certificate
  1. PublicKey
getPublicKey()
Extract the X509 certificate's public key
  1. String
getSigAlg()
Extract the X509 certificate's signature algorithm
  1. byte[]
getSubjectKeyIdentifier()
Extract the X509 certificate's subject public key identifier
  1. String
getSubjectName()
Extract the X509 certificate's subject name

Method Detail

getCertificate

  1. X509Certificate getCertificate( )
Extract the X509 certificate
Returns:
the X509 certificate

getPublicKey

  1. PublicKey getPublicKey()
Extract the X509 certificate's public key
Returns:
the X509 public key

getSubjectName

  1. String getSubjectName()
Extract the X509 certificate's subject name
Returns:
the subject Distinguished Name as a String

getSigAlg

  1. String getSigAlg()
Extract the X509 certificate's signature algorithm
Returns:
a string which identifies the certificate signing algorithm

getSubjectKeyIdentifier

  1. byte[] getSubjectKeyIdentifier( )
Extract the X509 certificate's subject public key identifier
Returns:
a byte array containing the generated subject key identifier This uniquely identifies the private key corresponding to this certificate without exposing it