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
KeyStoreException - java.security.KeyStoreExceptionKeyStore getKeyStore(String view) throws KeyStoreException
view - - KeyStore viewKeyStoreException - java.security.KeyStoreExceptionKeyStore[] getKeyStores(String[] aView) throws KeyStoreException
aView - - KeyStore view'sKeyStoreException - java.security.KeyStoreExceptionString[] getKeyStoreAliases(KeyStore keyStore) throws KeyStoreException
keyStore - - java.security.KeyStoreKeyStoreException - java.security.KeyStoreExceptionX509Certificate[] getCertificateChain(X509Certificate leaf, KeyStore[] aKeyStore) throws KeyStoreException, CertificateException
leaf - - java.security.cert.X509CertificateaKeyStore - - java.security.KeyStore[] arrayKeyStoreException - java.security.KeyStoreExceptionCertificateException - - 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 checkedKeyStoreException - java.security.KeyStoreExceptionboolean isKeyEntry(KeyStore keyStore, String alias) throws KeyStoreException
keyStore - - java.security.KeyStorealias - - the alias for the keystore entry to be checkedKeyStoreException - java.security.KeyStoreExceptioncom.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 entryKeyStoreException - java.security.KeyStoreExceptioncom.sap.security.api.ssf.ISsfPab getISsfPab(KeyStore[] aKeyStore) throws KeyStoreException
aKeyStore - - java.security.KeyStore arrayKeyStoreException - java.security.KeyStoreException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.lib.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice