Interface KeyTemplate

All Known Subinterfaces:
GeneratedKeyTemplate, ProvidedKeyTemplate
All Known Implementing Classes:
Encrypting, NameAndPassword, Pbe, ProvidedKey, ProvidedKeyEntry, ProvidedKeyPair, Secret, Signing

public interface KeyTemplate
  • Method Details

    • generateName

      String generateName()
      Generates alias for new key
      Returns:
      generated or hardcoded key name
    • getPassword

      Supplier<char[]> getPassword()
      password used to access key in KeyStore
      Returns:
      password as a char array supplier