|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sap.security.core.server.ssf.SsfPabKeyStore
Use this class to create an SSF personal address book from a KeyStore.
| Constructor Summary | |
SsfPabKeyStore(java.io.InputStream is,
java.lang.String type,
java.lang.String kspwd)
Constructs an SSF personal address book from a KeyStore input stream |
|
SsfPabKeyStore(java.security.KeyStore keyStore)
Constructs an SSF personal address book from a KeyStore |
|
| Method Summary | |
boolean |
addUntrustedCertificate(java.security.cert.X509Certificate cert)
Add untrusted certificate to the personal address book. |
java.security.cert.X509Certificate |
getCertificateBySubjectDN(java.lang.String subjectdn)
Get the root certificate corresponding to the given SubjectDN |
java.security.cert.X509Certificate[] |
getCertificates()
Get the root certificates contained in the personal address book |
boolean |
isTrusted(java.security.cert.X509Certificate cert)
Checks if a supplied certificate is trusted |
java.lang.String |
toString()
Get description of SSF personal address book |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SsfPabKeyStore(java.security.KeyStore keyStore)
throws java.security.KeyStoreException
keyStore - java.security.KeyStore objectjava.security.KeyStoreException - if KeyStore cannot be opened
public SsfPabKeyStore(java.io.InputStream is,
java.lang.String type,
java.lang.String kspwd)
throws java.security.KeyStoreException
is - InputStream to read from (may be null)type - KeyStore typekspwd - password of key store (optional, may be null)java.security.KeyStoreException - if KeyStore cannot be opened| Method Detail |
public boolean addUntrustedCertificate(java.security.cert.X509Certificate cert)
ISsfPabaddUntrustedCertificate in interface ISsfPabISsfPab.addUntrustedCertificate(java.security.cert.X509Certificate)public java.security.cert.X509Certificate[] getCertificates()
ISsfPabgetCertificates in interface ISsfPabISsfPab.getCertificates()public java.security.cert.X509Certificate getCertificateBySubjectDN(java.lang.String subjectdn)
ISsfPabgetCertificateBySubjectDN in interface ISsfPabISsfPab.getCertificateBySubjectDN(java.lang.String)public boolean isTrusted(java.security.cert.X509Certificate cert)
ISsfPabisTrusted in interface ISsfPabISsfPab.isTrusted(java.security.cert.X509Certificate)public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||