com.sap.security.api.ssf

Interface ISsfProfile

All Known Implementing Classes:
SsfProfileBasicImpl, SsfProfileKeyStore, SsfProfilePKCS12File

public interface ISsfProfile

Interface representing private key and certificate of a signer or recipient


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

Method Detail

getPrivateKey

PrivateKey getPrivateKey()
Get the private key of a signer or recipient

Returns:
private key or null

getCertificate

X509Certificate getCertificate()
Get the certificate of a signer or recipient.

Returns:
certificate or null

getCertificateChain

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)
Access Rights

This class can be accessed from:


SC DC
[sap.com] ENGINEAPI [sap.com] security.class
[sap.com] ENGFACADE [sap.com] tc/bl/security/lib
[sap.com] CORE-TOOLS [sap.com] com.sap.engine.client.lib


Copyright 2010 SAP AG Complete Copyright Notice