Uses of Class
COSE.AlgorithmID
-
-
Uses of AlgorithmID in COSE
Methods in COSE that return AlgorithmID Modifier and Type Method Description static AlgorithmIDAlgorithmID. FromCBOR(com.upokecenter.cbor.CBORObject obj)static AlgorithmIDAlgorithmID. valueOf(String name)Returns the enum constant of this type with the specified name.static AlgorithmID[]AlgorithmID. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in COSE with parameters of type AlgorithmID Modifier and Type Method Description protected byte[]MacCommon. AES_CBC_MAC(AlgorithmID alg, byte[] rgbKey)byte[]Recipient. decrypt(AlgorithmID algCEK, Recipient recip)static OneKeyOneKey. generateKey(AlgorithmID algorithm)static OneKeyOneKey. generateKey(AlgorithmID algorithm, String parameters)Generate a random key pair based on the given algorithm.byte[]Recipient. getKey(AlgorithmID algCEK)booleanOneKey. HasAlgorithmID(AlgorithmID algorithmId)Compares the key's assigned algorithm with the provided value, indicating if the values are the same.
-