public class CryptoPrimitive extends Object
| Constructor and Description |
|---|
CryptoPrimitive(Cipher cipher) |
CryptoPrimitive(Key key) |
CryptoPrimitive(KeyAgreement keyAgreement) |
CryptoPrimitive(Mac mac) |
CryptoPrimitive(Signature sig) |
| Modifier and Type | Method and Description |
|---|---|
Cipher |
getCipher()
Get the
Cipher object. |
Key |
getKey()
Get the
Key object. |
KeyAgreement |
getKeyAgreement()
Get the
KeyAgreement object. |
Mac |
getMac()
Get the
Mac object. |
Signature |
getSignature()
Get the
Signature object. |
public CryptoPrimitive(Signature sig)
public CryptoPrimitive(Cipher cipher)
public CryptoPrimitive(Mac mac)
public CryptoPrimitive(Key key)
public CryptoPrimitive(KeyAgreement keyAgreement)
public Signature getSignature()
Signature object.Signature object or null if this wrapper doesn't have one.public Cipher getCipher()
Cipher object.Cipher object or null if this wrapper doesn't have one.public Mac getMac()
Mac object.Mac object or null if this wrapper doesn't have one.public Key getKey()
Key object.Key object or null if this wrapper doesn't have one.public KeyAgreement getKeyAgreement()
KeyAgreement object.KeyAgreement object or null if this wrapper doesn't have one.Copyright © 2022. All rights reserved.