Class: PKCS11::CK_PKCS5_PBKD2_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

#iterationsInteger

Returns accessor for iterations (CK_ULONG).

Returns:

  • (Integer)

    accessor for iterations (CK_ULONG)



655
656
657
# File 'ext/pk11_struct.doc', line 655

def iterations
  @iterations
end

#pPasswordUTF8-String?

Returns accessor for pPassword.

Returns:

  • (UTF8-String, nil)

    accessor for pPassword



651
652
653
# File 'ext/pk11_struct.doc', line 651

def pPassword
  @pPassword
end

#pPrfDataASCII8BIT-String?

Returns accessor for pPrfData and ulPrfDataLen.

Returns:

  • (ASCII8BIT-String, nil)

    accessor for pPrfData and ulPrfDataLen



649
650
651
# File 'ext/pk11_struct.doc', line 649

def pPrfData
  @pPrfData
end

#prfInteger

Returns accessor for prf (CK_ULONG).

Returns:

  • (Integer)

    accessor for prf (CK_ULONG)



657
658
659
# File 'ext/pk11_struct.doc', line 657

def prf
  @prf
end

#pSaltSourceDataASCII8BIT-String?

Returns accessor for pSaltSourceData and ulSaltSourceDataLen.

Returns:

  • (ASCII8BIT-String, nil)

    accessor for pSaltSourceData and ulSaltSourceDataLen



647
648
649
# File 'ext/pk11_struct.doc', line 647

def pSaltSourceData
  @pSaltSourceData
end

#saltSourceInteger

Returns accessor for saltSource (CK_ULONG).

Returns:

  • (Integer)

    accessor for saltSource (CK_ULONG)



653
654
655
# File 'ext/pk11_struct.doc', line 653

def saltSource
  @saltSource
end

#ulPasswordLenInteger?

Returns accessor for ulPasswordLen (CK_ULONG_PTR).

Returns:

  • (Integer, nil)

    accessor for ulPasswordLen (CK_ULONG_PTR)



659
660
661
# File 'ext/pk11_struct.doc', line 659

def ulPasswordLen
  @ulPasswordLen
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



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

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



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

def to_s; end