Uses of Class
com.authlete.cose.COSEException
Packages that use COSEException
-
Uses of COSEException in com.authlete.cose
Methods in com.authlete.cose that throw COSEExceptionModifier and TypeMethodDescriptionstatic COSEEncrypt
Build aCOSEEncrypt
instance from the given CBOR data item.static COSEEncrypt
Build aCOSEEncrypt
instance from the given object list.static COSEEncrypt0
Build aCOSEEncrypt0
instance from the given CBOR data item.static COSEEncrypt0
Build aCOSEEncrypt0
instance from the given object list.static COSEKey
Build an instance ofCOSEKey
or its subclass when possible (e.g.static COSEKey
Build an instance ofCOSEKey
or its subclass when possible (e.g.COSEKeyBuilder.build()
Build an instance ofCOSEKey
or its subclass when possible (e.g.static COSEMac
Build aCOSEMac
instance from the given CBOR data item.static COSEMac
Build aCOSEMac
instance from the given object list.static COSEMac0
Build aCOSEMac0
instance from the given CBOR data item.static COSEMac0
Build aCOSEMac0
instance from the given object list.static COSEProtectedHeader
Interpret the given CBOR data item as a protected header and build an instance ofCOSEProtectedHeader
from it.static COSERecipient
Interpret the given CBOR data item as a recipient and build an instance ofCOSERecipient
from it.static COSERecipient
Build aCOSERecipient
instance from the given object list.static COSESign
Build aCOSESign
instance from the given CBOR data item.static COSESign
Build aCOSESign
instance from the given object list.static COSESign1
Build aCOSESign1
instance from the given CBOR data item.static COSESign1
Build aCOSESign1
instance from the given object list.static COSESignature
Build aCOSESignature
instance from the given CBOR data item.static COSESignature
Build aCOSESignature
instance from the given object list.static COSEUnprotectedHeader
Interpret the given CBOR data item as an unprotected header and build an instance ofCOSEUnprotectedHeader
from it.COSEKey.copy()
Copy thisCOSEKey
instance.COSEEC2Key.createPrivateKey()
COSEKey.createPrivateKey()
Create aPrivateKey
instance from this COSE key.COSEEC2Key.createPublicKey()
COSEKey.createPublicKey()
Create aPublicKey
instance from this COSE key.static COSEKey
Build aCOSEKey
instance from a map that represents a JWK (JSON Web Key).KeyGetter.get
(int keyOperation, int algorithm, byte[] keyID) Get a key suitable for the key operation with the algorithm.byte[]
COSESigner.sign
(SigStructure structure, int algorithm) Generate a signature for the Sig Structure with the specified algorithm.byte[]
COSESigner.sign
(SigStructure structure, int algorithm, byte[] keyID) Generate a signature for the Sig Structure with the specified algorithm.static byte[]
Generate a signature for the data with the key and the algorithm.byte[]
SigStructureSigner.sign
(SigStructure structure, int algorithm) Generate a signature for the Sig Structure with the specified algorithm.COSEEC2Key.toECPrivateKey()
Convert thisCOSEEC2Key
instance to anECPrivateKey
instance.COSEEC2Key.toECPublicKey()
Convert thisCOSEEC2Key
instance to anECPublicKey
instance.COSEEC2Key.toPublic()
COSEKey.toPublic()
Convert this COSE key to a public key.boolean
Verify aCOSE_Sign
object.boolean
Verify aCOSE_Sign1
object.boolean
Verify aCOSE_Sign1
object.boolean
Verify aCOSE_Sign
object.boolean
COSEVerifier.verify
(COSESign sign, COSESignature signature) Verify a combination ofCOSE_Sign
andCOSE_Signature
.boolean
COSEVerifier.verify
(COSESign sign, COSESignature signature, byte[] externalData) Verify a combination ofCOSE_Sign
andCOSE_Signature
.static boolean
Verify the signature for the data with the key and the algorithm. -
Uses of COSEException in com.authlete.cwt
Methods in com.authlete.cwt that throw COSEException -
Uses of COSEException in com.authlete.mdoc
Methods in com.authlete.mdoc that throw COSEException