Interface CryptoKeyProvider
- All Superinterfaces:
PrivateKeyProvider, PublicKeyProvider
- All Known Implementing Classes:
PemFileKeyProvider
Convenience interface for implementations that serve both public keys (for
producer-side encryption) and private keys (for consumer-side decryption) — for
example, a single PEM-file-backed key store used by both sides of an in-process
round trip.
Producer-only or consumer-only implementations should implement
PublicKeyProvider or PrivateKeyProvider directly instead — that
makes the role explicit and avoids stub methods that throw.
-
Method Summary
Methods inherited from interface PrivateKeyProvider
getPrivateKeyMethods inherited from interface PublicKeyProvider
getPublicKey