com.sap.security.api.ssf

Interface ISsfPab

All Known Implementing Classes:
SsfPabBasicImpl, SsfPabKeyStore, SsfPabPKCS12File

public interface ISsfPab

Interface representing the personal address book containg a list of root certificates


Method Summary
 boolean addUntrustedCertificate(X509Certificate cert)
          Add untrusted certificate to the personal address book.
 X509Certificate getCertificateBySubjectDN(String subjectdn)
          Get the root certificate corresponding to the given SubjectDN
 X509Certificate[] getCertificates()
          Get the root certificates contained in the personal address book
 boolean isTrusted(X509Certificate cert)
          Checks if a supplied certificate is trusted
 

Method Detail

addUntrustedCertificate

boolean addUntrustedCertificate(X509Certificate cert)
Add untrusted certificate to the personal address book.

Returns:
true if the certificate could be added

getCertificates

X509Certificate[] getCertificates()
Get the root certificates contained in the personal address book

Returns:
array of certificates (might be empty)

getCertificateBySubjectDN

X509Certificate getCertificateBySubjectDN(String subjectdn)
Get the root certificate corresponding to the given SubjectDN

Returns:
matching certificate or null

isTrusted

boolean isTrusted(X509Certificate cert)
Checks if a supplied certificate is trusted

Returns:
true if the certificate is trusted
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