This class specifies the cryptographic signature algorithm with which the newly generated credential will be used, and thus the type of asymmetric key pair to be generated.
Example usage
COSEAlgorithmIdentifier algIdentifier1 = new COSEAlgorithmIdentifier(EC2Algorithm.ES256);
COSEAlgorithmIdentifier algIdentifier2 = new COSEAlgorithmIdentifier(RSAAlgorithm.PS512);
COSEAlgorithmIdentifier algIdentifier3 = COSEAlgorithmIdentifier.fromCoseValue(-7);
Nested Class Summary
class | COSEAlgorithmIdentifier.UnsupportedAlgorithmIdentifierException | Exception thrown when an unsupported or unrecognized algorithm identifier is encountered. |
Inherited Constant Summary
Public Method Summary
int | |
boolean | |
static COSEAlgorithmIdentifier |
fromCoseValue(int value)
|
int |
hashCode()
|
int | |
void |
writeToParcel(Parcel parcel, int
flags)
|