public interface KeyStoreManager
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllKeyStoreViews()
Return's all the KeyStore view's.
|
X509Certificate[] |
getCertificateChain(X509Certificate leaf,
KeyStore[] aKeyStore)
Return's all the java.security.cert.X509Certificate chain over the KeyStore array.
|
com.sap.security.api.ssf.ISsfPab |
getISsfPab(KeyStore[] aKeyStore)
Return's an ISsfPab for the KeyStore array.
|
com.sap.security.api.ssf.ISsfProfile |
getISsfProfile(KeyStore keyStore,
String alias,
String password)
Return's an ISsfProfile for the KeyStore and alias.
|
KeyStore |
getKeyStore(String view)
Return's the KeyStore for the KeyStore view.
|
String[] |
getKeyStoreAliases(KeyStore keyStore)
Return's all the alias's of the java.security.KeyStore.
|
KeyStore[] |
getKeyStores(String[] aView)
Return's the KeyStore's for the KeyStore view's.
|
boolean |
isCertificateEntry(KeyStore keyStore,
String alias)
Returns true if the entry identified by the given alias is a trusted certificate entry, and false otherwise.
|
boolean |
isKeyEntry(KeyStore keyStore,
String alias)
Returns true if the entry identified by the given alias is a key entry, and false otherwise.
|
String[] getAllKeyStoreViews() throws KeyStoreException
KeyStoreExceptionKeyStore getKeyStore(String view) throws KeyStoreException
view - - KeyStore viewKeyStoreExceptionKeyStore[] getKeyStores(String[] aView) throws KeyStoreException
aView - - KeyStore view'sKeyStoreExceptionString[] getKeyStoreAliases(KeyStore keyStore) throws KeyStoreException
keyStore - - java.security.KeyStoreKeyStoreExceptionX509Certificate[] getCertificateChain(X509Certificate leaf, KeyStore[] aKeyStore) throws KeyStoreException, CertificateException
leaf - - java.security.cert.X509CertificateaKeyStore - - java.security.KeyStore[] arrayKeyStoreExceptionCertificateException - - The required issuer certificate cannot be found in the set of certificatesboolean isCertificateEntry(KeyStore keyStore, String alias) throws KeyStoreException
keyStore - - java.security.KeyStorealias - - the alias for the keystore entry to be checkedKeyStoreExceptionboolean isKeyEntry(KeyStore keyStore, String alias) throws KeyStoreException
keyStore - - java.security.KeyStorealias - - the alias for the keystore entry to be checkedKeyStoreExceptioncom.sap.security.api.ssf.ISsfProfile getISsfProfile(KeyStore keyStore, String alias, String password) throws KeyStoreException
keyStore - - java.security.KeyStorealias - - Private Keypassword - - Password for the Private Key entryKeyStoreExceptioncom.sap.security.api.ssf.ISsfPab getISsfPab(KeyStore[] aKeyStore) throws KeyStoreException
aKeyStore - - java.security.KeyStore arrayKeyStoreException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.lib.facade
|
api
|
BC-XI
|
Copyright 2016 SAP AG Complete Copyright Notice