public interface Crypto
Modifier and Type | Field and Description |
---|---|
static String[] |
ECDSA_ALGORITHMS |
Modifier and Type | Method and Description |
---|---|
default int |
ECDSALength(String algorithm) |
default String |
getId()
The key id or null.
|
String |
getLabel()
A not null label for the key, labels are the same for same algorithm, kid objects
but not necessarily different internal keys/certificates
|
default boolean |
isECDSA(String algorithm) |
byte[] |
sign(byte[] payload) |
boolean |
verify(byte[] signature,
byte[] payload) |
static final String[] ECDSA_ALGORITHMS
default String getId()
String getLabel()
byte[] sign(byte[] payload)
boolean verify(byte[] signature, byte[] payload)
default boolean isECDSA(String algorithm)
default int ECDSALength(String algorithm)
Copyright © 2021 Eclipse. All rights reserved.