@Immutable public final class LegacyFullSign extends Object implements PublicKeySign
| Modifier and Type | Method and Description |
|---|---|
static PublicKeySign |
create(LegacyProtoKey key)
Creates the full primitive corresponding to the key.
|
byte[] |
sign(byte[] data)
Computes the signature for
data. |
public static PublicKeySign create(LegacyProtoKey key) throws GeneralSecurityException
GeneralSecurityExceptionpublic byte[] sign(byte[] data)
throws GeneralSecurityException
PublicKeySigndata.sign in interface PublicKeySigndataGeneralSecurityException