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 theSignatureobject.- Returns:
Signatureobject or null if this wrapper doesn't have one.
-
getCipher
Get theCipherobject.- Returns:
Cipherobject or null if this wrapper doesn't have one.
-
getMac
Get theMacobject.- Returns:
Macobject or null if this wrapper doesn't have one.
-
getKey
Get theKeyobject.- Returns:
Keyobject or null if this wrapper doesn't have one.
-
getKeyAgreement
Get theKeyAgreementobject.- Returns:
KeyAgreementobject or null if this wrapper doesn't have one.
-