Class: PKCS11::CK_X9_42_DH2_DERIVE_PARAMS

Inherits:
CStruct
  • Object
show all
Defined in:
ext/pk11_struct.doc

Constant Summary collapse

SIZEOF_STRUCT =

Size of corresponding C struct in bytes

Integer

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from CStruct

#inspect, #to_hash, #values

Instance Attribute Details

#hPrivateDataInteger, PKCS11::Object

Returns Object handle (CK_ULONG).

Returns:



249
250
251
# File 'ext/pk11_struct.doc', line 249

def hPrivateData
  @hPrivateData
end

#kdfInteger

Returns accessor for kdf (CK_ULONG).

Returns:

  • (Integer)

    accessor for kdf (CK_ULONG)



245
246
247
# File 'ext/pk11_struct.doc', line 245

def kdf
  @kdf
end

#pOtherInfoASCII8BIT-String?

Returns accessor for pOtherInfo and ulOtherInfoLen.

Returns:

  • (ASCII8BIT-String, nil)

    accessor for pOtherInfo and ulOtherInfoLen



239
240
241
# File 'ext/pk11_struct.doc', line 239

def pOtherInfo
  @pOtherInfo
end

#pPublicDataASCII8BIT-String?

Returns accessor for pPublicData and ulPublicDataLen.

Returns:

  • (ASCII8BIT-String, nil)

    accessor for pPublicData and ulPublicDataLen



241
242
243
# File 'ext/pk11_struct.doc', line 241

def pPublicData
  @pPublicData
end

#pPublicData2ASCII8BIT-String?

Returns accessor for pPublicData2.

Returns:

  • (ASCII8BIT-String, nil)

    accessor for pPublicData2



243
244
245
# File 'ext/pk11_struct.doc', line 243

def pPublicData2
  @pPublicData2
end

#ulPrivateDataLenInteger

Returns accessor for ulPrivateDataLen (CK_ULONG).

Returns:

  • (Integer)

    accessor for ulPrivateDataLen (CK_ULONG)



247
248
249
# File 'ext/pk11_struct.doc', line 247

def ulPrivateDataLen
  @ulPrivateDataLen
end

#ulPublicDataLen2Integer

Returns accessor for ulPublicDataLen2 (CK_ULONG).

Returns:

  • (Integer)

    accessor for ulPublicDataLen2 (CK_ULONG)



251
252
253
# File 'ext/pk11_struct.doc', line 251

def ulPublicDataLen2
  @ulPublicDataLen2
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



237
# File 'ext/pk11_struct.doc', line 237

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



235
# File 'ext/pk11_struct.doc', line 235

def to_s; end