Interface PrivateKeyImporter<S extends AlgorithmKeySpec>

Type Parameters:
S - specification type
All Known Implementing Classes:
AbstractEncodedPrivateKeyBuilder, EcdsaPrivateKeyBuilder, Ed25519PrivateKeyBuilder, Ed448PrivateKeyBuilder, MldsaPrivateKeyBuilder, SlhDsaPrivateKeyBuilder, SphincsPlusPrivateKeyBuilder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PrivateKeyImporter<S extends AlgorithmKeySpec>
Imports private keys for one exact specification type. Implementations must be stateless or otherwise safe for concurrent invocation.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Imports a private key.