Interface KeyGetter
public interface KeyGetter
Key getter.
- Since:
- 1.1
- See Also:
-
Method Summary
-
Method Details
-
get
Get a key suitable for the key operation with the algorithm.- Parameters:
keyOperation- The intended key operation such asSIGNandVERIFY.algorithm- The integer identifier of the algorithm for the key operation such asES256.keyID- A key ID of the target key. This may be null.- Returns:
- A key suitable for the key operation and the algorithm.
nullif a suitable key is not available. - Throws:
COSEException
-