Package com.google.crypto.tink.signature
Class SignaturePublicKey
- java.lang.Object
-
- com.google.crypto.tink.Key
-
- com.google.crypto.tink.signature.SignaturePublicKey
-
- Direct Known Subclasses:
EcdsaPublicKey,Ed25519PublicKey,RsaSsaPkcs1PublicKey,RsaSsaPssPublicKey
@Immutable public abstract class SignaturePublicKey extends Key
A SignaturePublicKey represents the verification portion of a digital signature primitive.
-
-
Constructor Summary
Constructors Constructor Description SignaturePublicKey()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract BytesgetOutputPrefix()Returns aBytesinstance which is prefixed to every signature.abstract SignatureParametersgetParameters()Returns the parameters of this key.-
Methods inherited from class com.google.crypto.tink.Key
equalsKey, getIdRequirementOrNull
-
-
-
-
Method Detail
-
getOutputPrefix
public abstract Bytes getOutputPrefix()
Returns aBytesinstance which is prefixed to every signature.
-
getParameters
public abstract SignatureParameters getParameters()
Returns the parameters of this key.- Specified by:
getParametersin classKey
-
-