public class CK_ECDSA_ECIES_PARAMS
extends java.lang.Object
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; // keysize 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; // keysize of mac algo (always 0) unsigned char *pSharedSecret1; // optional shared secret 1 included in hash calculation unsigned long int ulSharetSecret1; // length of shared secret 1 unsigned char *pSharedSecret2; // optional shared secret 2 included in mac calculation unsigned long int ulSharetSecret2; // lentgh of shared secret 2 }
Modifier and Type | Field and Description |
---|---|
long |
cryptAlg |
long |
cryptOpt |
long |
hashAlg |
long |
macAlg |
long |
macOpt |
byte[] |
pSharedSecret1
optional shared secret 1 included in hash calculation.
|
byte[] |
pSharedSecret2
optional shared secret 2 included in hash calculation.
|
Constructor and Description |
---|
CK_ECDSA_ECIES_PARAMS() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns the string representation of CK_ECDSA_ECIES_PARAMS.
|
public long hashAlg
public long cryptAlg
public long cryptOpt
public long macAlg
public long macOpt
public byte[] pSharedSecret1
unsigned char *pSharedSecret1; // optional shared secret 1 included in hash calculation unsigned long int ulSharetSecret1; // length of shared secret 1
public byte[] pSharedSecret2
unsigned char *pSharedSecret2; // optional shared secret 1 included in hash calculation unsigned long int ulSharetSecret2; // length of shared secret 1
IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. version 1.6.9