Package org.xipki.pkcs11.wrapper.params
Class RSA_AES_KEY_WRAP_PARAMS
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.params.CkParams
-
- org.xipki.pkcs11.wrapper.params.RSA_AES_KEY_WRAP_PARAMS
-
public class RSA_AES_KEY_WRAP_PARAMS extends CkParams
Represents the CK_RSA_AES_KEY_WRAP_PARAMS.- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description RSA_AES_KEY_WRAP_PARAMS(int AESKeyBits, RSA_PKCS_OAEP_PARAMS OAEPParams)Create a new RSA_AES_KEY_WRAP_PARAMS object with the given attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetMaxFieldLen()CK_RSA_AES_KEY_WRAP_PARAMSgetParams()Get this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.StringtoString(String indent)-
Methods inherited from class org.xipki.pkcs11.wrapper.params.CkParams
ptr2str, requireNonNull, toString, val2Str
-
-
-
-
Constructor Detail
-
RSA_AES_KEY_WRAP_PARAMS
public RSA_AES_KEY_WRAP_PARAMS(int AESKeyBits, RSA_PKCS_OAEP_PARAMS OAEPParams)Create a new RSA_AES_KEY_WRAP_PARAMS object with the given attributes.- Parameters:
AESKeyBits- length of the temporary AES key in bits. Can be only 128, 192 or 256.OAEPParams- parameters of the temporary AES key wrapping. See also the description of
PKCS #1 RSA OAEP mechanism parameters.
-
-
Method Detail
-
getParams
public CK_RSA_AES_KEY_WRAP_PARAMS getParams()
Description copied from class:CkParamsGet this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.
-
getMaxFieldLen
protected int getMaxFieldLen()
- Specified by:
getMaxFieldLenin classCkParams
-
-