Parameters for the CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE and the CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE mechanisms
More...
Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkWtlsKeyMatParams.
Parameters for the CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE and the CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE mechanisms
◆ CkWtlsKeyMatParams()
Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsKeyMatParams.CkWtlsKeyMatParams |
( |
NativeULong |
digestMechanism, |
|
|
NativeULong |
macSizeInBits, |
|
|
NativeULong |
keySizeInBits, |
|
|
NativeULong |
ivSizeInBits, |
|
|
NativeULong |
sequenceNumber, |
|
|
bool |
isExport, |
|
|
ICkWtlsRandomData |
randomInfo |
|
) |
| |
Initializes a new instance of the CkWtlsKeyMatParams class.
- Parameters
-
digestMechanism | The digest mechanism to be used (CKM) |
macSizeInBits | The length (in bits) of the MACing key agreed upon during the protocol handshake phase |
keySizeInBits | The length (in bits) of the secret key agreed upon during the handshake phase |
ivSizeInBits | The length (in bits) of the IV agreed upon during the handshake phase or if no IV is required, the length should be set to 0 |
sequenceNumber | The current sequence number used for records sent by the client and server respectively |
isExport | Flag indicating whether the keys have to be derived for an export version of the protocol |
randomInfo | Client's and server's random data information |
◆ Dispose() [1/2]
void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsKeyMatParams.Dispose |
( |
| ) |
|
◆ Dispose() [2/2]
virtual void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsKeyMatParams.Dispose |
( |
bool |
disposing | ) |
|
|
protectedvirtual |
Disposes object
- Parameters
-
disposing | Flag indicating whether managed resources should be disposed |
◆ ToMarshalableStructure()
object Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsKeyMatParams.ToMarshalableStructure |
( |
| ) |
|
◆ ReturnedKeyMaterial
ICkWtlsKeyMatOut Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsKeyMatParams.ReturnedKeyMaterial |
|
get |
Resulting key handles and initialization vector after performing a DeriveKey method
The documentation for this class was generated from the following file:
- HighLevelAPI40/MechanismParams/CkWtlsKeyMatParams.cs