|
CXI
|
This class is used to construct a mechanism parameter which provides additional, mechanism-specific information. More...
Public Member Functions | |
| void | setOAEP (int md_algo, int mgf_algo, byte[] label) |
| Constructs a mechanism parameter for RSA encryption / decryption with PKCS#1_v2.1 RSAES-OAEP padding. More... | |
| void | setPSS (int md_algo, int mgf_algo, int salt_len) |
| Constructs a mechanism parameter for RSA signature creation / verification with PKCS#1_v2.1 RSASSA-PSS padding. More... | |
| void | setECIES (int hash_algo, int crypt_algo, int crypt_mech, int crypt_len, int mac_algo, int mac_mech, int mac_len, byte[] secret1, byte[] secret2) |
| Constructs a mechanism parameter for 'Elliptic Curve (Augmented) Encryption Scheme' (ECIES, see ANSI X9.63). More... | |
| void | setGCM (byte[] iv_init, byte[] ad, int tag_bits) |
| Constructs a mechanism parameter for AES encryption / decryption with 'Galois Counter Mode' chaining (GCM, see NIST SP-800-38D). More... | |
| void | setCCM (byte[] nonce, byte[] ad, int dataLen, int macLen) |
| Constructs a mechanism parameter for AES encryption / decryption in mode Counter with CBC-MAC (CCM, see NIST SP-800-38C). More... | |
| void | setGMAC (byte[] iv_init) |
| Constructs a mechanism parameter for AES MAC creation / verification with 'Galois Counter MAC' chaining (GMAC, see NIST SP-800-38D). More... | |
| byte[] | getEncoded () |
| Returns the encoded mechanism parameter. | |
This class is used to construct a mechanism parameter which provides additional, mechanism-specific information.