Package iaik.pkcs.pkcs11.wrapper
Class CK_ECDSA_ECIES_PARAMS
- java.lang.Object
-
- iaik.pkcs.pkcs11.wrapper.CK_ECDSA_ECIES_PARAMS
-
public class CK_ECDSA_ECIES_PARAMS extends Object
The class CK_ECDSA_ECIES_PARAMS provides the parameters to the CKM_ECDSA_ECIES mechanism.PKCS#11 structure:
typedef struct CK_ECDSA_ECIES_PARAMS {// used by CKM_ECDSA_ECIES unsigned long int hashAlg; // hash algorithm used e.g. CKM_SHA_1 unsigned long int cryptAlg; // crypt algorithm used for crypt/decrypt e.g. CKM_AES_ECB unsigned long int cryptOpt; // key size of crypt algo (0 for CKM_ECDSA_ECIES_XOR) unsigned long int macAlg; // mac algorithm used e.g. CKM_SHA_1_HMAC unsigned long int macOpt; // key size of mac algo (always 0) unsigned char *pSharedSecret1; // optional shared secret 1 included in hash calculation unsigned long int ulSharedSecret1; // length of shared secret 1 unsigned char *pSharedSecret2; // optional shared secret 2 included in mac calculation unsigned long int ulSharedSecret2; // length of shared secret 2 }- Author:
- Otto Touzil (SIC)
-
-
Field Summary
Fields Modifier and Type Field Description longcryptAlglongcryptOptlonghashAlglongmacAlglongmacOptbyte[]pSharedSecret1optional shared secret 1 included in hash calculation.byte[]pSharedSecret2optional shared secret 2 included in hash calculation.
-
Constructor Summary
Constructors Constructor Description CK_ECDSA_ECIES_PARAMS()
-
-
-
Field Detail
-
hashAlg
public long hashAlg
-
cryptAlg
public long cryptAlg
-
cryptOpt
public long cryptOpt
-
macAlg
public long macAlg
-
macOpt
public long macOpt
-
pSharedSecret1
public byte[] pSharedSecret1
optional shared secret 1 included in hash calculation.PKCS#11:
unsigned char *pSharedSecret1; // optional shared secret 1 included in hash calculation unsigned long int ulSharetSecret1; // length of shared secret 1
-
pSharedSecret2
public byte[] pSharedSecret2
optional shared secret 2 included in hash calculation.PKCS#11:
unsigned char *pSharedSecret2; // optional shared secret 1 included in hash calculation unsigned long int ulSharetSecret2; // length of shared secret 1
-
-