Package pygar.identity_authority
Class KeyStoreAccess
java.lang.Object
pygar.identity_authority.KeyStoreAccess
- Direct Known Subclasses:
KeyStoreAccessDemo0
,KeyStoreAccessZone10FS
public abstract class KeyStoreAccess
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
currentEntity
The name of the current Entity that is running the software.java.lang.String
keystoreJavaType
A key store is protected by encryption using one of several available methods. -
Constructor Summary
Constructors Constructor Description KeyStoreAccess()
-
Method Summary
Modifier and Type Method Description abstract java.security.KeyStore
getKeyStore(KeyStoreType kst)
Return the KeyStore for the entity that is running the current application.
-
Field Details
-
currentEntity
public java.lang.String currentEntityThe name of the current Entity that is running the software. -
keystoreJavaType
public java.lang.String keystoreJavaTypeA key store is protected by encryption using one of several available methods. The default in Java is JKS. We recommend JCEKS.
-
-
Constructor Details
-
KeyStoreAccess
public KeyStoreAccess()
-
-
Method Details
-
getKeyStore
Return the KeyStore for the entity that is running the current application.- Parameters:
kst
- The type of the keystore desired:- Returns:
- the keystore
- Throws:
java.lang.Exception
-