public class ScpNeoSecretStoreFacade extends Object implements SecretStoreFacade
Constructor and Description |
---|
ScpNeoSecretStoreFacade() |
Modifier and Type | Method and Description |
---|---|
KeyStore |
getKeyStore(String name,
SecretStore password) |
SecretStore |
getSecretStore(String name) |
public SecretStore getSecretStore(String name) throws KeyStoreAccessException
getSecretStore
in interface SecretStoreFacade
name
- The name identifying a SecretStore
.SecretStore
for the given name.KeyStoreAccessException
public KeyStore getKeyStore(String name, SecretStore password) throws KeyStoreNotFoundException, KeyStoreAccessException
getKeyStore
in interface SecretStoreFacade
name
- The name identifying a KeyStore
.password
- The password to unlock the KeyStore
.KeyStore
for the given name.KeyStoreNotFoundException
- If the KeyStore
cannot be found.KeyStoreAccessException
- If there is an issue while accessing the KeyStore
.Copyright © 2018 SAP SE. All rights reserved.