Class RSA_PKCS_OAEP_PARAMS


  • public class RSA_PKCS_OAEP_PARAMS
    extends CkParams
    Represents the CK_RSA_PKCS_OAEP_PARAMS.
    Author:
    Lijun Liao (xipki)
    • 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: CkParams
        Get this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.
        Specified by:
        getParams in class CkParams
        Returns:
        The object of the corresponding *_PARAMS class.