Package com.google.crypto.tink
Interface PublicKeyVerify
-
- All Known Implementing Classes:
EcdsaVerifyJce,EcdsaVerifyJce,Ed25519Verify,Ed25519VerifyJce,LegacyFullVerify,RsaSsaPkcs1VerifyConscrypt,RsaSsaPkcs1VerifyJce,RsaSsaPssVerifyConscrypt,RsaSsaPssVerifyJce
public interface PublicKeyVerifyInterface 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 voidverify(byte[] signature, byte[] data)Verifies whethersignatureis a valid signature fordata.
-