Interface CryptoStore.ExportableAsKeyStore
- All Superinterfaces:
CryptoStore
- All Known Subinterfaces:
ClientKeyCryptoStore,ServerTrustCryptoStore,SignerTrustCryptoStore
- Enclosing interface:
CryptoStore
This interface serves as a trait to subtypes of
CryptoStore.
A CryptoStore implementing this interface is exportable as a KeyStore.-
Nested Class Summary
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.data.CryptoStore
CryptoStore.ExportableAsKeyStore -
Method Summary
Modifier and TypeMethodDescriptionExports the contents of this crypto store as aKeyStoreThe alias for the significant entry in theKeyStorereturned bygetAsKeyStore().@se.curity.identityserver.sdk.Nullable char[]The password protecting theKeyStorereturned bygetAsKeyStore().
-
Method Details
-
getKeyStoreAlias
String getKeyStoreAlias()The alias for the significant entry in theKeyStorereturned bygetAsKeyStore().- Returns:
- the KeyStore alias
- See Also:
-
getKeyStorePassword
The password protecting theKeyStorereturned bygetAsKeyStore().- Returns:
- the KeyStore password, or
nullif unprotected - See Also:
-
getAsKeyStore
KeyStore getAsKeyStore()Exports the contents of this crypto store as aKeyStoreThe KeyStore will be protected by the password returned by
getKeyStorePassword().The relevant KeyStore entry will have the alias returned by
getKeyStoreAlias().- Returns:
- a
KeyStorecontaining the trusted certificate
-