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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • currentEntity

      public java.lang.String currentEntity
      The name of the current Entity that is running the software.
    • keystoreJavaType

      public java.lang.String keystoreJavaType
      A key store is protected by encryption using one of several available methods. The default in Java is JKS. We recommend JCEKS.
  • Constructor Details

  • Method Details

    • getKeyStore

      public abstract java.security.KeyStore getKeyStore​(KeyStoreType kst) throws java.lang.Exception
      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