Interface PrivateKeyManager<P>

  • All Superinterfaces:
    KeyManager<P>

    public interface PrivateKeyManager<P>
    extends KeyManager<P>
    A KeyManager that understands asymmetric private key types.
    Since:
    1.0.0
    • Method Detail

      • getPublicKeyData

        com.google.crypto.tink.proto.KeyData getPublicKeyData​(com.google.protobuf.ByteString serializedKey)
                                                       throws java.security.GeneralSecurityException
        Extracts the public key data from the private key data.
        Returns:
        the KeyData containing the public keys
        Throws:
        java.security.GeneralSecurityException - if the specified format is wrong or not supported