C# 클래스 Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkWtlsKeyMatParams

Parameters for the CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE and the CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE mechanisms
상속: IMechanismParams, IDisposable
파일 보기 프로젝트 열기: Pkcs11Interop/Pkcs11Interop

공개 메소드들

메소드 설명
CkWtlsKeyMatParams ( ulong digestMechanism, ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, ulong sequenceNumber, bool isExport, CkWtlsRandomData randomInfo ) : System

Initializes a new instance of the CkWtlsKeyMatParams class.

Dispose ( ) : void

Disposes object

ToMarshalableStructure ( ) : object

Returns managed object that can be marshaled to an unmanaged block of memory

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Disposes object

메소드 상세

CkWtlsKeyMatParams() 공개 메소드

Initializes a new instance of the CkWtlsKeyMatParams class.
public CkWtlsKeyMatParams ( ulong digestMechanism, ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, ulong sequenceNumber, bool isExport, CkWtlsRandomData randomInfo ) : System
digestMechanism ulong The digest mechanism to be used (CKM)
macSizeInBits ulong The length (in bits) of the MACing key agreed upon during the protocol handshake phase
keySizeInBits ulong The length (in bits) of the secret key agreed upon during the handshake phase
ivSizeInBits ulong 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 ulong The current sequence number used for records sent by the client and server respectively
isExport bool Flag indicating whether the keys have to be derived for an export version of the protocol
randomInfo CkWtlsRandomData Client's and server's random data information
리턴 System

Dispose() 공개 메소드

Disposes object
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Disposes object
protected Dispose ( bool disposing ) : void
disposing bool Flag indicating whether managed resources should be disposed
리턴 void

ToMarshalableStructure() 공개 메소드

Returns managed object that can be marshaled to an unmanaged block of memory
public ToMarshalableStructure ( ) : object
리턴 object