com.sap.security.api.ssf
Interface ISsfProfile

All Known Implementing Classes:
SsfProfileBasicImpl, SsfProfilePKCS12File, SsfProfileKeyStore

public interface ISsfProfile

Interface representing private key and certificate of a signer or recipient


Method Summary
 java.security.cert.X509Certificate getCertificate()
          Get the certificate of a signer or recipient.
 java.security.cert.X509Certificate[] getCertificateChain()
          Get the certificate chain of a signer or recipient.
 java.security.PrivateKey getPrivateKey()
          Get the private key of a signer or recipient
 

Method Detail

getPrivateKey

public java.security.PrivateKey getPrivateKey()
Get the private key of a signer or recipient
Returns:
private key or null

getCertificate

public java.security.cert.X509Certificate getCertificate()
Get the certificate of a signer or recipient.
Returns:
certificate or null

getCertificateChain

public java.security.cert.X509Certificate[] getCertificateChain()
Get the certificate chain of a signer or recipient. The first certificate is the certificate of the signer or recipient.
Returns:
array of certificates (might be empty)