AI-generated Key Takeaways
-
Algorithmis an interface for algorithms used in public key encryption, requiring implementations to conform to RFC8152 guidelines. -
The interface has known indirect subclasses,
EC2AlgorithmandRSAAlgorithm, which provide algorithm names and COSE identifiers for EC2 and RSA public keys, respectively. -
It includes public methods like
fromAlgoValueto get anAlgorithmfrom a COSE value andgetAlgoValueto retrieve the COSE value for the algorithm used in credential encryption.
| Known Indirect Subclasses |
An interface for an algorithm used in public key encryption. All implementations must conform to the guidelines regarding algorithm registrations in RFC8152.
See Also
Public Method Summary
| static Algorithm |
fromAlgoValue(int algoValue)
|
| abstract int |
getAlgoValue()
Gets the COSE value for the algorithm used in the encryption of the credential.
|
Public Methods
public static Algorithm fromAlgoValue (int algoValue)
public abstract int getAlgoValue ()
Gets the COSE value for the algorithm used in the encryption of the credential.