Class Utimaco_ECDSA_ECIES_PARAMS


  • public class Utimaco_ECDSA_ECIES_PARAMS
    extends CkParams
    Represents Utimaco's vendor CK_ECDSA_ECIES_PARAMS, which is used in Utimaco's vendor mechanism CKM_ECDSA_ECIES

    hashAlg:
    CKM_SHA_1, CKM_SHA224, CKM_SHA256, CKM_SHA384, CKM_SHA512, CKM_RIPEMD160, CKM_MD5
    cryptAlg:
    CKM_AES_ECB, CKM_AES_CBC, CKM_ECDSA_ECIES_XOR
    cryptOpt:
    Key Length of cryptAlg . (0 for CKM_ECDSA_ECIES_XOR )

    macAlg:
    CKM_SHA_1_HMAC, CKM_SHA224_HMAC, CKM_SHA256_HMAC, CKM_SHA384_HMAC, CKM_SHA512_HMAC, CKM_MD5_HMAC, CKM_RIPEMD160_HMAC
    macOpt:
    currently ignored

    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • Utimaco_ECDSA_ECIES_PARAMS

        public Utimaco_ECDSA_ECIES_PARAMS​(long hashAlg,
                                          long cryptAlg,
                                          long cryptOpt,
                                          long macAlg,
                                          long macOpt)
      • Utimaco_ECDSA_ECIES_PARAMS

        public Utimaco_ECDSA_ECIES_PARAMS​(long hashAlg,
                                          long cryptAlg,
                                          long cryptOpt,
                                          long macAlg,
                                          long macOpt,
                                          byte[] sharedSecret1,
                                          byte[] sharedSecret2)
    • Method Detail

      • getParams

        public CK_ECDSA_ECIES_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.