public interface Crypto
| Modifier and Type | Method and Description |
|---|---|
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
|
byte[] |
sign(byte[] payload) |
boolean |
verify(byte[] signature,
byte[] payload) |
default String getId()
String getLabel()
byte[] sign(byte[] payload)
boolean verify(byte[] signature,
byte[] payload)
Copyright © 2021. All rights reserved.