Interface PartialKeyPair
-
- All Known Implementing Classes:
PartialRsaKeyPair
public interface PartialKeyPair
This interface allows use of key pairs where only one of the public or private keys has been provided. This allows consumers to be able to e.g. provide only the public portion of a key pair in the part of their application which puts encrypted objects into S3 to avoid distributing the private key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrivateKey
getPrivateKey()
PublicKey
getPublicKey()
-
-
-
Method Detail
-
getPublicKey
PublicKey getPublicKey()
-
getPrivateKey
PrivateKey getPrivateKey()
-
-