Package org.jose4j.jwa
Class CryptoPrimitive
java.lang.Object
org.jose4j.jwa.CryptoPrimitive
-
Constructor Summary
ConstructorsConstructorDescriptionCryptoPrimitive
(Key key) CryptoPrimitive
(Signature sig) CryptoPrimitive
(Cipher cipher) CryptoPrimitive
(KeyAgreement keyAgreement) CryptoPrimitive
(Mac mac) -
Method Summary
-
Constructor Details
-
CryptoPrimitive
-
CryptoPrimitive
-
CryptoPrimitive
-
CryptoPrimitive
-
CryptoPrimitive
-
-
Method Details
-
getSignature
Get theSignature
object.- Returns:
Signature
object or null if this wrapper doesn't have one.
-
getCipher
Get theCipher
object.- Returns:
Cipher
object or null if this wrapper doesn't have one.
-
getMac
Get theMac
object.- Returns:
Mac
object or null if this wrapper doesn't have one.
-
getKey
Get theKey
object.- Returns:
Key
object or null if this wrapper doesn't have one.
-
getKeyAgreement
Get theKeyAgreement
object.- Returns:
KeyAgreement
object or null if this wrapper doesn't have one.
-