Package org.xipki.pkcs11.wrapper.params
Class RSA_PKCS_OAEP_PARAMS
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.params.CkParams
-
- org.xipki.pkcs11.wrapper.params.RSA_PKCS_OAEP_PARAMS
-
public class RSA_PKCS_OAEP_PARAMS extends CkParams
Represents the CK_RSA_PKCS_OAEP_PARAMS.- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description RSA_PKCS_OAEP_PARAMS(long hashAlg, long mgf)RSA_PKCS_OAEP_PARAMS(long hashAlg, long mgf, long source, byte[] sourceData)Create a new RSA_PKCS_OAEP_PARAMS object with the given attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetMaxFieldLen()CK_RSA_PKCS_OAEP_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_PKCS_OAEP_PARAMS
public RSA_PKCS_OAEP_PARAMS(long hashAlg, long mgf)
-
RSA_PKCS_OAEP_PARAMS
public RSA_PKCS_OAEP_PARAMS(long hashAlg, long mgf, long source, byte[] sourceData)Create a new RSA_PKCS_OAEP_PARAMS object with the given attributes.- Parameters:
hashAlg- The message digest algorithm used to calculate the digest of the encoding parameter.mgf- The mask to apply to the encoded block. One of the constants defined in the MessageGenerationFunctionType interface.source- The source of the encoding parameter. One of the constants defined in the SourceType interface.sourceData- The data used as the input for the encoding parameter source.
-
-
Method Detail
-
getParams
public CK_RSA_PKCS_OAEP_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
-
-