class PKCS11::CK_VERSION < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for major (CK_BYTE) attr_accessor :major # @return [Integer] accessor for minor (CK_BYTE) attr_accessor :minor end class PKCS11::CK_INFO < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [PKCS11::CK_VERSION] inline struct attr_accessor :cryptokiVersion # @return [String] accessor for manufacturerID (max 32 bytes) attr_accessor :manufacturerID # @return [Integer] accessor for flags (CK_ULONG) attr_accessor :flags # @return [String] accessor for libraryDescription (max 32 bytes) attr_accessor :libraryDescription # @return [PKCS11::CK_VERSION] inline struct attr_accessor :libraryVersion end class PKCS11::CK_SLOT_INFO < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String] accessor for slotDescription (max 64 bytes) attr_accessor :slotDescription # @return [String] accessor for manufacturerID (max 32 bytes) attr_accessor :manufacturerID # @return [Integer] accessor for flags (CK_ULONG) attr_accessor :flags # @return [PKCS11::CK_VERSION] inline struct attr_accessor :hardwareVersion # @return [PKCS11::CK_VERSION] inline struct attr_accessor :firmwareVersion end class PKCS11::CK_TOKEN_INFO < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String] accessor for label (max 32 bytes) attr_accessor :label # @return [String] accessor for manufacturerID (max 32 bytes) attr_accessor :manufacturerID # @return [String] accessor for model (max 16 bytes) attr_accessor :model # @return [String] accessor for serialNumber (max 16 bytes) attr_accessor :serialNumber # @return [Integer] accessor for flags (CK_ULONG) attr_accessor :flags # @return [Integer] accessor for ulMaxSessionCount (CK_ULONG) attr_accessor :ulMaxSessionCount # @return [Integer] accessor for ulSessionCount (CK_ULONG) attr_accessor :ulSessionCount # @return [Integer] accessor for ulMaxRwSessionCount (CK_ULONG) attr_accessor :ulMaxRwSessionCount # @return [Integer] accessor for ulRwSessionCount (CK_ULONG) attr_accessor :ulRwSessionCount # @return [Integer] accessor for ulMaxPinLen (CK_ULONG) attr_accessor :ulMaxPinLen # @return [Integer] accessor for ulMinPinLen (CK_ULONG) attr_accessor :ulMinPinLen # @return [Integer] accessor for ulTotalPublicMemory (CK_ULONG) attr_accessor :ulTotalPublicMemory # @return [Integer] accessor for ulFreePublicMemory (CK_ULONG) attr_accessor :ulFreePublicMemory # @return [Integer] accessor for ulTotalPrivateMemory (CK_ULONG) attr_accessor :ulTotalPrivateMemory # @return [Integer] accessor for ulFreePrivateMemory (CK_ULONG) attr_accessor :ulFreePrivateMemory # @return [PKCS11::CK_VERSION] inline struct attr_accessor :hardwareVersion # @return [PKCS11::CK_VERSION] inline struct attr_accessor :firmwareVersion # @return [String] accessor for utcTime (max 16 bytes) attr_accessor :utcTime end class PKCS11::CK_SESSION_INFO < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for slotID (CK_ULONG) attr_accessor :slotID # @return [Integer] accessor for state (CK_ULONG) attr_accessor :state # @return [Integer] accessor for flags (CK_ULONG) attr_accessor :flags # @return [Integer] accessor for ulDeviceError (CK_ULONG) attr_accessor :ulDeviceError end class PKCS11::CK_DATE < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String] accessor for year (max 4 bytes) attr_accessor :year # @return [String] accessor for month (max 2 bytes) attr_accessor :month # @return [String] accessor for day (max 2 bytes) attr_accessor :day end class PKCS11::CK_MECHANISM_INFO < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for ulMinKeySize (CK_ULONG) attr_accessor :ulMinKeySize # @return [Integer] accessor for ulMaxKeySize (CK_ULONG) attr_accessor :ulMaxKeySize # @return [Integer] accessor for flags (CK_ULONG) attr_accessor :flags end class PKCS11::CK_C_INITIALIZE_ARGS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pReserved attr_accessor :pReserved # @return [Integer] accessor for flags (CK_ULONG) attr_accessor :flags end class PKCS11::CK_RSA_PKCS_OAEP_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pSourceData and ulSourceDataLen attr_accessor :pSourceData # @return [Integer] accessor for hashAlg (CK_ULONG) attr_accessor :hashAlg # @return [Integer] accessor for mgf (CK_ULONG) attr_accessor :mgf # @return [Integer] accessor for source (CK_ULONG) attr_accessor :source end class PKCS11::CK_RSA_PKCS_PSS_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for hashAlg (CK_ULONG) attr_accessor :hashAlg # @return [Integer] accessor for mgf (CK_ULONG) attr_accessor :mgf # @return [Integer] accessor for sLen (CK_ULONG) attr_accessor :sLen end class PKCS11::CK_ECDH1_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pSharedData and ulSharedDataLen attr_accessor :pSharedData # @return [String, nil] accessor for pPublicData and ulPublicDataLen attr_accessor :pPublicData # @return [Integer] accessor for kdf (CK_ULONG) attr_accessor :kdf end class PKCS11::CK_ECMQV_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pSharedData and ulSharedDataLen attr_accessor :pSharedData # @return [String, nil] accessor for pPublicData and ulPublicDataLen attr_accessor :pPublicData # @return [String, nil] accessor for pPublicData2 attr_accessor :pPublicData2 # @return [Integer] accessor for kdf (CK_ULONG) attr_accessor :kdf # @return [Integer] accessor for ulPrivateDataLen (CK_ULONG) attr_accessor :ulPrivateDataLen # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hPrivateData # @return [Integer] accessor for ulPublicDataLen2 (CK_ULONG) attr_accessor :ulPublicDataLen2 # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :publicKey end class PKCS11::CK_X9_42_DH1_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pOtherInfo and ulOtherInfoLen attr_accessor :pOtherInfo # @return [String, nil] accessor for pPublicData and ulPublicDataLen attr_accessor :pPublicData # @return [Integer] accessor for kdf (CK_ULONG) attr_accessor :kdf end class PKCS11::CK_X9_42_DH2_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pOtherInfo and ulOtherInfoLen attr_accessor :pOtherInfo # @return [String, nil] accessor for pPublicData and ulPublicDataLen attr_accessor :pPublicData # @return [String, nil] accessor for pPublicData2 attr_accessor :pPublicData2 # @return [Integer] accessor for kdf (CK_ULONG) attr_accessor :kdf # @return [Integer] accessor for ulPrivateDataLen (CK_ULONG) attr_accessor :ulPrivateDataLen # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hPrivateData # @return [Integer] accessor for ulPublicDataLen2 (CK_ULONG) attr_accessor :ulPublicDataLen2 end class PKCS11::CK_X9_42_MQV_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pOtherInfo and ulOtherInfoLen attr_accessor :pOtherInfo # @return [String, nil] accessor for pPublicData and ulPublicDataLen attr_accessor :pPublicData # @return [String, nil] accessor for pPublicData2 attr_accessor :pPublicData2 # @return [Integer] accessor for kdf (CK_ULONG) attr_accessor :kdf # @return [Integer] accessor for ulPrivateDataLen (CK_ULONG) attr_accessor :ulPrivateDataLen # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hPrivateData # @return [Integer] accessor for ulPublicDataLen2 (CK_ULONG) attr_accessor :ulPublicDataLen2 # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :publicKey end class PKCS11::CK_KEA_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pRandomA attr_accessor :pRandomA # @return [String, nil] accessor for pRandomB attr_accessor :pRandomB # @return [String, nil] accessor for pPublicData and ulPublicDataLen attr_accessor :pPublicData # @return [Boolean] Bool value attr_accessor :isSender # @return [Integer] accessor for ulRandomLen (CK_ULONG) attr_accessor :ulRandomLen end class PKCS11::CK_RC2_CBC_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for ulEffectiveBits (CK_ULONG) attr_accessor :ulEffectiveBits # @return [String] accessor for iv (max 8 bytes) attr_accessor :iv end class PKCS11::CK_RC2_MAC_GENERAL_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for ulEffectiveBits (CK_ULONG) attr_accessor :ulEffectiveBits # @return [Integer] accessor for ulMacLength (CK_ULONG) attr_accessor :ulMacLength end class PKCS11::CK_RC5_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for ulWordsize (CK_ULONG) attr_accessor :ulWordsize # @return [Integer] accessor for ulRounds (CK_ULONG) attr_accessor :ulRounds end class PKCS11::CK_RC5_CBC_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pIv and ulIvLen attr_accessor :pIv # @return [Integer] accessor for ulWordsize (CK_ULONG) attr_accessor :ulWordsize # @return [Integer] accessor for ulRounds (CK_ULONG) attr_accessor :ulRounds end class PKCS11::CK_RC5_MAC_GENERAL_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for ulWordsize (CK_ULONG) attr_accessor :ulWordsize # @return [Integer] accessor for ulRounds (CK_ULONG) attr_accessor :ulRounds # @return [Integer] accessor for ulMacLength (CK_ULONG) attr_accessor :ulMacLength end class PKCS11::CK_DES_CBC_ENCRYPT_DATA_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pData and length attr_accessor :pData # @return [String] accessor for iv (max 8 bytes) attr_accessor :iv end class PKCS11::CK_AES_CBC_ENCRYPT_DATA_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pData and length attr_accessor :pData # @return [String] accessor for iv (max 16 bytes) attr_accessor :iv end class PKCS11::CK_SKIPJACK_PRIVATE_WRAP_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pPassword and ulPasswordLen attr_accessor :pPassword # @return [String, nil] accessor for pPublicData and ulPublicDataLen attr_accessor :pPublicData # @return [String, nil] accessor for pRandomA attr_accessor :pRandomA # @return [String, nil] accessor for pPrimeP attr_accessor :pPrimeP # @return [String, nil] accessor for pBaseG attr_accessor :pBaseG # @return [String, nil] accessor for pSubprimeQ attr_accessor :pSubprimeQ # @return [Integer] accessor for ulPAndGLen (CK_ULONG) attr_accessor :ulPAndGLen # @return [Integer] accessor for ulQLen (CK_ULONG) attr_accessor :ulQLen # @return [Integer] accessor for ulRandomLen (CK_ULONG) attr_accessor :ulRandomLen end class PKCS11::CK_SKIPJACK_RELAYX_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pOldWrappedX and ulOldWrappedXLen attr_accessor :pOldWrappedX # @return [String, nil] accessor for pOldPassword and ulOldPasswordLen attr_accessor :pOldPassword # @return [String, nil] accessor for pOldPublicData and ulOldPublicDataLen attr_accessor :pOldPublicData # @return [String, nil] accessor for pOldRandomA attr_accessor :pOldRandomA # @return [String, nil] accessor for pNewPassword and ulNewPasswordLen attr_accessor :pNewPassword # @return [String, nil] accessor for pNewPublicData and ulNewPublicDataLen attr_accessor :pNewPublicData # @return [String, nil] accessor for pNewRandomA attr_accessor :pNewRandomA # @return [Integer] accessor for ulOldRandomLen (CK_ULONG) attr_accessor :ulOldRandomLen # @return [Integer] accessor for ulNewRandomLen (CK_ULONG) attr_accessor :ulNewRandomLen end class PKCS11::CK_PBE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pInitVector attr_accessor :pInitVector # @return [String, nil] accessor for pPassword and ulPasswordLen attr_accessor :pPassword # @return [String, nil] accessor for pSalt and ulSaltLen attr_accessor :pSalt # @return [Integer] accessor for ulIteration (CK_ULONG) attr_accessor :ulIteration end class PKCS11::CK_KEY_WRAP_SET_OAEP_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pX and ulXLen attr_accessor :pX # @return [Integer] accessor for bBC (CK_BYTE) attr_accessor :bBC end class PKCS11::CK_SSL3_RANDOM_DATA < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pClientRandom and ulClientRandomLen attr_accessor :pClientRandom # @return [String, nil] accessor for pServerRandom and ulServerRandomLen attr_accessor :pServerRandom end class PKCS11::CK_SSL3_MASTER_KEY_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [PKCS11::CK_SSL3_RANDOM_DATA] inline struct attr_accessor :RandomInfo # @return [PKCS11::CK_VERSION, nil] pointer to struct attr_accessor :pVersion end class PKCS11::CK_SSL3_KEY_MAT_OUT < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pIVClient attr_accessor :pIVClient # @return [String, nil] accessor for pIVServer attr_accessor :pIVServer # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hClientMacSecret # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hServerMacSecret # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hClientKey # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hServerKey end class PKCS11::CK_SSL3_KEY_MAT_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for ulMacSizeInBits (CK_ULONG) attr_accessor :ulMacSizeInBits # @return [Integer] accessor for ulKeySizeInBits (CK_ULONG) attr_accessor :ulKeySizeInBits # @return [Integer] accessor for ulIVSizeInBits (CK_ULONG) attr_accessor :ulIVSizeInBits # @return [Boolean] Bool value attr_accessor :bIsExport # @return [PKCS11::CK_SSL3_RANDOM_DATA] inline struct attr_accessor :RandomInfo # @return [PKCS11::CK_SSL3_KEY_MAT_OUT, nil] pointer to struct attr_accessor :pReturnedKeyMaterial end class PKCS11::CK_WTLS_RANDOM_DATA < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pClientRandom and ulClientRandomLen attr_accessor :pClientRandom # @return [String, nil] accessor for pServerRandom and ulServerRandomLen attr_accessor :pServerRandom end class PKCS11::CK_WTLS_MASTER_KEY_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pVersion attr_accessor :pVersion # @return [Integer] accessor for DigestMechanism (CK_ULONG) attr_accessor :DigestMechanism # @return [PKCS11::CK_WTLS_RANDOM_DATA] inline struct attr_accessor :RandomInfo end class PKCS11::CK_WTLS_PRF_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pSeed and ulSeedLen attr_accessor :pSeed # @return [String, nil] accessor for pLabel and ulLabelLen attr_accessor :pLabel # @return [String, nil] accessor for pOutput attr_accessor :pOutput # @return [Integer] accessor for DigestMechanism (CK_ULONG) attr_accessor :DigestMechanism # @return [Integer, nil] accessor for pulOutputLen (CK_ULONG_PTR) attr_accessor :pulOutputLen end class PKCS11::CK_WTLS_KEY_MAT_OUT < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pIV attr_accessor :pIV # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hMacSecret # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hKey end class PKCS11::CK_WTLS_KEY_MAT_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for DigestMechanism (CK_ULONG) attr_accessor :DigestMechanism # @return [Integer] accessor for ulMacSizeInBits (CK_ULONG) attr_accessor :ulMacSizeInBits # @return [Integer] accessor for ulKeySizeInBits (CK_ULONG) attr_accessor :ulKeySizeInBits # @return [Integer] accessor for ulIVSizeInBits (CK_ULONG) attr_accessor :ulIVSizeInBits # @return [Integer] accessor for ulSequenceNumber (CK_ULONG) attr_accessor :ulSequenceNumber # @return [Boolean] Bool value attr_accessor :bIsExport # @return [PKCS11::CK_WTLS_RANDOM_DATA] inline struct attr_accessor :RandomInfo # @return [PKCS11::CK_WTLS_KEY_MAT_OUT, nil] pointer to struct attr_accessor :pReturnedKeyMaterial end class PKCS11::CK_CMS_SIG_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pContentType attr_accessor :pContentType # @return [String, nil] accessor for pRequestedAttributes and ulRequestedAttributesLen attr_accessor :pRequestedAttributes # @return [String, nil] accessor for pRequiredAttributes and ulRequiredAttributesLen attr_accessor :pRequiredAttributes # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :certificateHandle # @return [PKCS11::CK_MECHANISM, nil] pointer to struct attr_accessor :pSigningMechanism # @return [PKCS11::CK_MECHANISM, nil] pointer to struct attr_accessor :pDigestMechanism end class PKCS11::CK_KEY_DERIVATION_STRING_DATA < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pData and ulLen attr_accessor :pData end class PKCS11::CK_PKCS5_PBKD2_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pSaltSourceData and ulSaltSourceDataLen attr_accessor :pSaltSourceData # @return [String, nil] accessor for pPrfData and ulPrfDataLen attr_accessor :pPrfData # @return [String, nil] accessor for pPassword attr_accessor :pPassword # @return [Integer] accessor for saltSource (CK_ULONG) attr_accessor :saltSource # @return [Integer] accessor for iterations (CK_ULONG) attr_accessor :iterations # @return [Integer] accessor for prf (CK_ULONG) attr_accessor :prf # @return [Integer, nil] accessor for ulPasswordLen (CK_ULONG_PTR) attr_accessor :ulPasswordLen end class PKCS11::CK_OTP_PARAM < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pValue and ulValueLen attr_accessor :pValue # @return [Integer] accessor for type (CK_ULONG) attr_accessor :type end class PKCS11::CK_OTP_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Array<PKCS11::CK_OTP_PARAM>] accessor for pParams and ulCount attr_accessor :pParams end class PKCS11::CK_OTP_SIGNATURE_INFO < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Array<PKCS11::CK_OTP_PARAM>] accessor for pParams and ulCount attr_accessor :pParams end class PKCS11::CK_KIP_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pSeed and ulSeedLen attr_accessor :pSeed # @return [PKCS11::CK_MECHANISM, nil] pointer to struct attr_accessor :pMechanism # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hKey end class PKCS11::CK_AES_CTR_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for ulCounterBits (CK_ULONG) attr_accessor :ulCounterBits # @return [String] accessor for cb (max 16 bytes) attr_accessor :cb end class PKCS11::CK_GCM_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pIv and ulIvLen attr_accessor :pIv # @return [String, nil] accessor for pAAD and ulAADLen attr_accessor :pAAD # @return [Integer] accessor for ulIvBits (CK_ULONG) attr_accessor :ulIvBits # @return [Integer] accessor for ulTagBits (CK_ULONG) attr_accessor :ulTagBits end class PKCS11::CK_CCM_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pNonce and ulNonceLen attr_accessor :pNonce # @return [String, nil] accessor for pAAD and ulAADLen attr_accessor :pAAD # @return [Integer] accessor for ulDataLen (CK_ULONG) attr_accessor :ulDataLen # @return [Integer] accessor for ulMACLen (CK_ULONG) attr_accessor :ulMACLen end class PKCS11::CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pData and length attr_accessor :pData # @return [String] accessor for iv (max 16 bytes) attr_accessor :iv end class PKCS11::CK_ARIA_CBC_ENCRYPT_DATA_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pData and length attr_accessor :pData # @return [String] accessor for iv (max 16 bytes) attr_accessor :iv end class PKCS11::CK_DSA_PARAMETER_GEN_PARAM < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pSeed and ulSeedLen attr_accessor :pSeed # @return [Integer] accessor for hash (CK_ULONG) attr_accessor :hash # @return [Integer] accessor for ulIndex (CK_ULONG) attr_accessor :ulIndex end class PKCS11::CK_ECDH_AES_KEY_WRAP_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pSharedData and ulSharedDataLen attr_accessor :pSharedData # @return [Integer] accessor for ulAESKeyBits (CK_ULONG) attr_accessor :ulAESKeyBits # @return [Integer] accessor for kdf (CK_ULONG) attr_accessor :kdf end class PKCS11::CK_RSA_AES_KEY_WRAP_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for ulAESKeyBits (CK_ULONG) attr_accessor :ulAESKeyBits # @return [PKCS11::CK_RSA_PKCS_OAEP_PARAMS, nil] pointer to struct attr_accessor :pOAEPParams end class PKCS11::CK_TLS12_MASTER_KEY_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [PKCS11::CK_SSL3_RANDOM_DATA] inline struct attr_accessor :RandomInfo # @return [PKCS11::CK_VERSION, nil] pointer to struct attr_accessor :pVersion # @return [Integer] accessor for prfHashMechanism (CK_ULONG) attr_accessor :prfHashMechanism end class PKCS11::CK_TLS12_KEY_MAT_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for ulMacSizeInBits (CK_ULONG) attr_accessor :ulMacSizeInBits # @return [Integer] accessor for ulKeySizeInBits (CK_ULONG) attr_accessor :ulKeySizeInBits # @return [Integer] accessor for ulIVSizeInBits (CK_ULONG) attr_accessor :ulIVSizeInBits # @return [Boolean] Bool value attr_accessor :bIsExport # @return [PKCS11::CK_SSL3_RANDOM_DATA] inline struct attr_accessor :RandomInfo # @return [PKCS11::CK_SSL3_KEY_MAT_OUT, nil] pointer to struct attr_accessor :pReturnedKeyMaterial # @return [Integer] accessor for prfHashMechanism (CK_ULONG) attr_accessor :prfHashMechanism end class PKCS11::CK_TLS_KDF_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pLabel attr_accessor :pLabel # @return [String, nil] accessor for pContextData attr_accessor :pContextData # @return [Integer] accessor for prfMechanism (CK_ULONG) attr_accessor :prfMechanism # @return [Integer] accessor for ulLabelLength (CK_ULONG) attr_accessor :ulLabelLength # @return [PKCS11::CK_SSL3_RANDOM_DATA] inline struct attr_accessor :RandomInfo # @return [Integer] accessor for ulContextDataLength (CK_ULONG) attr_accessor :ulContextDataLength end class PKCS11::CK_TLS_MAC_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [Integer] accessor for prfHashMechanism (CK_ULONG) attr_accessor :prfHashMechanism # @return [Integer] accessor for ulMacLength (CK_ULONG) attr_accessor :ulMacLength # @return [Integer] accessor for ulServerOrClient (CK_ULONG) attr_accessor :ulServerOrClient end class PKCS11::CK_GOSTR3410_DERIVE_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pPublicData and ulPublicDataLen attr_accessor :pPublicData # @return [String, nil] accessor for pUKM and ulUKMLen attr_accessor :pUKM # @return [Integer] accessor for kdf (CK_ULONG) attr_accessor :kdf end class PKCS11::CK_GOSTR3410_KEY_WRAP_PARAMS < PKCS11::CStruct # Size of corresponding C struct in bytes SIZEOF_STRUCT=Integer # @return [String] Binary copy of the C struct def to_s; end # @return [Array<String>] Attributes of this struct def members; end # @return [String, nil] accessor for pWrapOID and ulWrapOIDLen attr_accessor :pWrapOID # @return [String, nil] accessor for pUKM and ulUKMLen attr_accessor :pUKM # @return [Integer, PKCS11::Object] Object handle (CK_ULONG) attr_accessor :hKey end