Class UnmodifyableKeystore
java.lang.Object
de.adorsys.sts.keymanagement.model.UnmodifyableKeystore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaliases()booleancontainsAlias(String alias) booleanentryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass) getCertificate(String alias) getCertificateChain(String alias) getCreationDate(String alias) getEntry(String alias, KeyStore.ProtectionParameter protParam) getType()booleanisCertificateEntry(String alias) booleanisKeyEntry(String alias) intsize()voidstore(OutputStream stream, char[] password) voidstore(KeyStore.LoadStoreParameter param) byte[]
-
Constructor Details
-
UnmodifyableKeystore
-
-
Method Details
-
toBytes
public byte[] toBytes(de.adorsys.keymanagement.api.Juggler juggler, Supplier<char[]> readKeyStorePassword) -
getProvider
-
getType
-
getKey
public Key getKey(String alias, char[] password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException -
getCertificateChain
- Throws:
KeyStoreException
-
getCertificate
- Throws:
KeyStoreException
-
getCreationDate
- Throws:
KeyStoreException
-
aliases
- Throws:
KeyStoreException
-
containsAlias
- Throws:
KeyStoreException
-
size
- Throws:
KeyStoreException
-
isKeyEntry
- Throws:
KeyStoreException
-
isCertificateEntry
- Throws:
KeyStoreException
-
getCertificateAlias
- Throws:
KeyStoreException
-
store
public void store(OutputStream stream, char[] password) throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException -
store
public void store(KeyStore.LoadStoreParameter param) throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException -
getEntry
public KeyStore.Entry getEntry(String alias, KeyStore.ProtectionParameter protParam) throws NoSuchAlgorithmException, UnrecoverableEntryException, KeyStoreException -
entryInstanceOf
public boolean entryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass) throws KeyStoreException - Throws:
KeyStoreException
-