Package com.google.crypto.tink
Interface PublicKeySign
-
- All Known Implementing Classes:
EcdsaSignJce,EcdsaSignJce,Ed25519Sign,Ed25519SignJce,LegacyFullSign,RsaSsaPkcs1SignJce,RsaSsaPkcs1SignJce,RsaSsaPssSignConscrypt,RsaSsaPssSignJce
public interface PublicKeySignInterface for public key signing.Digital Signatures provide functionality of signing data and verification of the signatures.
Security guarantees
The functionality of Digital Signatures is represented a pair of primitives (interfaces)
PublicKeySignfor signing of data, andPublicKeyVerifyfor verification of signatures. Implementations of these interfaces are secure against adaptive chosen-message attacks. Signing data ensures the authenticity and the integrity of that data, but not its secrecy.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]sign(byte[] data)Computes the signature fordata.
-