Pkcs11Interop
5.1.2
|
Factory for creation of IMechanismParams instances More...
Inherited by Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory.
Public Member Functions | |
ICkAesCbcEncryptDataParams | CreateCkAesCbcEncryptDataParams (byte[] iv, byte[] data) |
Creates parameters for the CKM_AES_CBC_ENCRYPT_DATA mechanism More... | |
ICkAesCtrParams | CreateCkAesCtrParams (ulong counterBits, byte[] cb) |
Creates parameters for the CKM_AES_CTR mechanism More... | |
ICkAriaCbcEncryptDataParams | CreateCkAriaCbcEncryptDataParams (byte[] iv, byte[] data) |
Creates parameters for the CKM_ARIA_CBC_ENCRYPT_DATA mechanism More... | |
ICkCamelliaCbcEncryptDataParams | CreateCkCamelliaCbcEncryptDataParams (byte[] iv, byte[] data) |
Creates parameters for the CKM_CAMELLIA_CBC_ENCRYPT_DATA mechanism More... | |
ICkCamelliaCtrParams | CreateCkCamelliaCtrParams (ulong counterBits, byte[] cb) |
Creates parameters for the CKM_CAMELLIA_CTR mechanism More... | |
ICkCcmParams | CreateCkCcmParams (ulong dataLen, byte[] nonce, byte[] aad, ulong macLen) |
Creates parameters for the CKM_AES_CCM mechanism More... | |
ICkCmsSigParams | CreateCkCmsSigParams (IObjectHandle certificateHandle, ulong? signingMechanism, ulong? digestMechanism, string contentType, byte[] requestedAttributes, byte[] requiredAttributes) |
Creates parameters for the CKM_CMS_SIG mechanism More... | |
ICkDesCbcEncryptDataParams | CreateCkDesCbcEncryptDataParams (byte[] iv, byte[] data) |
Creates parameters for the CKM_DES_CBC_ENCRYPT_DATA and CKM_DES3_CBC_ENCRYPT_DATA mechanisms More... | |
ICkDsaParameterGenParam | CreateCkDsaParameterGenParam (ulong hash, byte[] seed, ulong index) |
Creates parameters for the CKM_DSA_PROBABLISTIC_PARAMETER_GEN, CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN a CKM_DSA_FIPS_G_GEN mechanisms More... | |
ICkEcdh1DeriveParams | CreateCkEcdh1DeriveParams (ulong kdf, byte[] sharedData, byte[] publicData) |
Creates parameters for the CKM_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE key derivation mechanisms More... | |
ICkEcdh2DeriveParams | CreateCkEcdh2DeriveParams (ulong kdf, byte[] sharedData, byte[] publicData, ulong privateDataLen, IObjectHandle privateData, byte[] publicData2) |
Creates parameters for the CKM_ECMQV_DERIVE mechanism More... | |
ICkEcdhAesKeyWrapParams | CreateCkEcdhAesKeyWrapParams (ulong aesKeyBits, ulong kdf, byte[] sharedData) |
Creates parameters for the CKM_ECDH_AES_KEY_WRAP mechanism More... | |
ICkEcmqvDeriveParams | CreateCkEcmqvDeriveParams (ulong kdf, byte[] sharedData, byte[] publicData, ulong privateDataLen, IObjectHandle privateData, byte[] publicData2, IObjectHandle publicKey) |
Create parameters for the CKM_ECMQV_DERIVE mechanism More... | |
ICkExtractParams | CreateCkExtractParams (ulong bit) |
Creates parameters for the CKM_EXTRACT_KEY_FROM_KEY mechanism More... | |
ICkGcmParams | CreateCkGcmParams (byte[] iv, ulong ivBits, byte[] aad, ulong tagBits) |
Creates parameters for the CKM_AES_GCM mechanism More... | |
ICkGostR3410DeriveParams | CreateCkGostR3410DeriveParams (ulong kdf, byte[] publicData, byte[] ukm) |
Creates parameters for the CKM_GOSTR3410_DERIVE mechanism More... | |
ICkGostR3410KeyWrapParams | CreateCkGostR3410KeyWrapParams (byte[] wrapOID, byte[] ukm, ulong key) |
Creates parameters for the CKM_GOSTR3410_KEY_WRAP mechanism More... | |
ICkKeaDeriveParams | CreateCkKeaDeriveParams (bool isSender, byte[] randomA, byte[] randomB, byte[] publicData) |
Creates parameters for the CKM_KEA_DERIVE mechanism More... | |
ICkKeyDerivationStringData | CreateCkKeyDerivationStringData (byte[] data) |
Creates parameters for the CKM_CONCATENATE_BASE_AND_DATA, CKM_CONCATENATE_DATA_AND_BASE and CKM_XOR_BASE_AND_DATA mechanisms More... | |
ICkKeyWrapSetOaepParams | CreateCkKeyWrapSetOaepParams (byte bc, byte[] x) |
Creates parameters for the CKM_KEY_WRAP_SET_OAEP mechanism More... | |
ICkKipParams | CreateCkKipParams (ulong? mechanism, IObjectHandle key, byte[] seed) |
Creates parameters for the CKM_KIP_DERIVE, CKM_KIP_WRAP and CKM_KIP_MAC mechanisms More... | |
ICkMacGeneralParams | CreateCkMacGeneralParams (ulong macLength) |
Creates parameters for the general-length MACing mechanisms (DES, DES3, CAST, CAST3, CAST128 (CAST5), IDEA, CDMF and AES), the general length HMACing mechanisms (MD2, MD5, SHA-1, SHA-256, SHA-384, SHA-512, RIPEMD-128 and RIPEMD-160) and the two SSL 3.0 MACing mechanisms (MD5 and SHA-1) More... | |
ICkOtpParam | CreateCkOtpParam (ulong type, byte[] value) |
Creates type, value and length of an OTP parameter More... | |
ICkOtpParams | CreateCkOtpParams (List< ICkOtpParam > parameters) |
Creates parameters for OTP mechanisms in a generic fashion More... | |
ICkOtpSignatureInfo | CreateCkOtpSignatureInfo (byte[] signature) |
Creates parameters returned by all OTP mechanisms in successful calls to Sign method More... | |
ICkPbeParams | CreateCkPbeParams (byte[] initVector, byte[] password, byte[] salt, ulong iteration) |
Creates parameters for the CKM_PBE mechanisms and the CKM_PBA_SHA1_WITH_SHA1_HMAC mechanism More... | |
ICkPkcs5Pbkd2Params | CreateCkPkcs5Pbkd2Params (ulong saltSource, byte[] saltSourceData, ulong iterations, ulong prf, byte[] prfData, byte[] password) |
Creates parameters for the CKM_PKCS5_PBKD2 mechanism More... | |
ICkPkcs5Pbkd2Params2 | CreateCkPkcs5Pbkd2Params2 (ulong saltSource, byte[] saltSourceData, ulong iterations, ulong prf, byte[] prfData, byte[] password) |
Creates parameters for the CKM_PKCS5_PBKD2 mechanism More... | |
ICkRc2CbcParams | CreateCkRc2CbcParams (ulong effectiveBits, byte[] iv) |
Creates parameters for the CKM_RC2_CBC and CKM_RC2_CBC_PAD mechanisms More... | |
ICkRc2MacGeneralParams | CreateCkRc2MacGeneralParams (ulong effectiveBits, ulong macLength) |
Creates parameters for the CKM_RC2_MAC_GENERAL mechanism More... | |
ICkRc2Params | CreateCkRc2Params (ulong effectiveBits) |
Creates parameters for the CKM_RC2_ECB and CKM_RC2_MAC mechanisms More... | |
ICkRc5CbcParams | CreateCkRc5CbcParams (ulong wordsize, ulong rounds, byte[] iv) |
Creates parameters for the CKM_RC5_CBC and CKM_RC5_CBC_PAD mechanisms More... | |
ICkRc5MacGeneralParams | CreateCkRc5MacGeneralParams (ulong wordsize, ulong rounds, ulong macLength) |
Creates parameters for the CKM_RC5_MAC_GENERAL mechanism More... | |
ICkRc5Params | CreateCkRc5Params (ulong wordsize, ulong rounds) |
Creates parameters for the CKM_RC5_ECB and CKM_RC5_MAC mechanisms More... | |
ICkRsaAesKeyWrapParams | CreateCkRsaAesKeyWrapParams (ulong aesKeyBits, ICkRsaPkcsOaepParams oaepParams) |
Creates parameters for the CKM_RSA_AES_KEY_WRAP mechanism More... | |
ICkRsaPkcsOaepParams | CreateCkRsaPkcsOaepParams (ulong hashAlg, ulong mgf, ulong source, byte[] sourceData) |
Creates parameters for the CKM_RSA_PKCS_OAEP mechanism More... | |
ICkRsaPkcsPssParams | CreateCkRsaPkcsPssParams (ulong hashAlg, ulong mgf, ulong len) |
Creates parameters for the CKM_RSA_PKCS_PSS mechanism More... | |
ICkSeedCbcEncryptDataParams | CreateCkSeedCbcEncryptDataParams (byte[] iv, byte[] data) |
Creates parameters for the CKM_SEED_CBC_ENCRYPT_DATA mechanism More... | |
ICkSkipjackPrivateWrapParams | CreateCkSkipjackPrivateWrapParams (byte[] password, byte[] publicData, byte[] randomA, byte[] primeP, byte[] baseG, byte[] subprimeQ) |
Creates parameters for the CKM_SKIPJACK_PRIVATE_WRAP mechanism More... | |
ICkSkipjackRelayxParams | CreateCkSkipjackRelayxParams (byte[] oldWrappedX, byte[] oldPassword, byte[] oldPublicData, byte[] oldRandomA, byte[] newPassword, byte[] newPublicData, byte[] newRandomA) |
Creates parameters for the CKM_SKIPJACK_RELAYX mechanism More... | |
ICkSsl3KeyMatParams | CreateCkSsl3KeyMatParams (ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, bool isExport, ICkSsl3RandomData randomInfo) |
Creates parameters for the CKM_SSL3_KEY_AND_MAC_DERIVE mechanism More... | |
ICkSsl3MasterKeyDeriveParams | CreateCkSsl3MasterKeyDeriveParams (ICkSsl3RandomData randomInfo, bool dh) |
Creates parameters for the CKM_SSL3_MASTER_KEY_DERIVE and CKM_SSL3_MASTER_KEY_DERIVE_DH mechanisms More... | |
ICkSsl3RandomData | CreateCkSsl3RandomData (byte[] clientRandom, byte[] serverRandom) |
Creates information about the random data of a client and a server in an SSL context More... | |
ICkTls12KeyMatParams | CreateCkTls12KeyMatParams (ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, bool isExport, ICkSsl3RandomData randomInfo, ulong prfHashMechanism) |
Creates parameters for the CKM_TLS12_KEY_AND_MAC_DERIVE mechanism More... | |
ICkTls12MasterKeyDeriveParams | CreateCkTls12MasterKeyDeriveParams (ICkSsl3RandomData randomInfo, ulong prfHashMechanism) |
Creates parameters for the CKM_TLS12_MASTER_KEY_DERIVE mechanism More... | |
ICkTlsKdfParams | CreateCkTlsKdfParams (ulong prfMechanism, byte[] label, ICkSsl3RandomData randomInfo, byte[] contextData) |
Create parameters for the CKM_TLS_KDF mechanism More... | |
ICkTlsMacParams | CreateCkTlsMacParams (ulong prfHashMechanism, ulong macLength, ulong serverOrClient) |
Creates parameters for the CKM_TLS_MAC mechanism More... | |
ICkTlsPrfParams | CreateCkTlsPrfParams (byte[] seed, byte[] label, ulong outputLen) |
Creates parameters for the CKM_TLS_PRF mechanism More... | |
ICkVersion | CreateCkVersion (byte major, byte minor) |
Creates parameters for the CKM_SSL3_PRE_MASTER_KEY_GEN mechanism More... | |
ICkWtlsKeyMatParams | CreateCkWtlsKeyMatParams (ulong digestMechanism, ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, ulong sequenceNumber, bool isExport, ICkWtlsRandomData randomInfo) |
Creates parameters for the CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE and the CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE mechanisms More... | |
ICkWtlsMasterKeyDeriveParams | CreateCkWtlsMasterKeyDeriveParams (ulong digestMechanism, ICkWtlsRandomData randomInfo, bool dh) |
Creates parameters for the CKM_WTLS_MASTER_KEY_DERIVE and CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC mechanisms More... | |
ICkWtlsPrfParams | CreateCkWtlsPrfParams (ulong digestMechanism, byte[] seed, byte[] label, ulong outputLen) |
Creates parameters for the CKM_WTLS_PRF mechanism More... | |
ICkWtlsRandomData | CreateCkWtlsRandomData (byte[] clientRandom, byte[] serverRandom) |
Creates information about the random data of a client and a server in a WTLS context More... | |
ICkX942Dh1DeriveParams | CreateCkX942Dh1DeriveParams (ulong kdf, byte[] otherInfo, byte[] publicData) |
Creates parameters for the CKM_X9_42_DH_DERIVE key derivation mechanism More... | |
ICkX942Dh2DeriveParams | CreateCkX942Dh2DeriveParams (ulong kdf, byte[] otherInfo, byte[] publicData, ulong privateDataLen, IObjectHandle privateData, byte[] publicData2) |
Creates parameters for the CKM_X9_42_DH_HYBRID_DERIVE and CKM_X9_42_MQV_DERIVE key derivation mechanisms More... | |
ICkX942MqvDeriveParams | CreateCkX942MqvDeriveParams (ulong kdf, byte[] otherInfo, byte[] publicData, ulong privateDataLen, IObjectHandle privateData, byte[] publicData2, IObjectHandle publicKey) |
Creates parameters for the CKM_X9_42_MQV_DERIVE key derivation mechanism More... | |
Factory for creation of IMechanismParams instances
ICkAesCbcEncryptDataParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkAesCbcEncryptDataParams | ( | byte [] | iv, |
byte [] | data | ||
) |
Creates parameters for the CKM_AES_CBC_ENCRYPT_DATA mechanism
iv | IV value (16 bytes) |
data | Data value part that must be a multiple of 16 bytes long |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkAesCtrParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkAesCtrParams | ( | ulong | counterBits, |
byte [] | cb | ||
) |
Creates parameters for the CKM_AES_CTR mechanism
counterBits | The number of bits in the counter block (cb) that shall be incremented |
cb | Specifies the counter block (16 bytes) |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkAriaCbcEncryptDataParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkAriaCbcEncryptDataParams | ( | byte [] | iv, |
byte [] | data | ||
) |
Creates parameters for the CKM_ARIA_CBC_ENCRYPT_DATA mechanism
iv | IV value (16 bytes) |
data | Data to encrypt |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkCamelliaCbcEncryptDataParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkCamelliaCbcEncryptDataParams | ( | byte [] | iv, |
byte [] | data | ||
) |
Creates parameters for the CKM_CAMELLIA_CBC_ENCRYPT_DATA mechanism
iv | IV value (16 bytes) |
data | Data to encrypt |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkCamelliaCtrParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkCamelliaCtrParams | ( | ulong | counterBits, |
byte [] | cb | ||
) |
Creates parameters for the CKM_CAMELLIA_CTR mechanism
counterBits | The number of bits in the counter block (cb) that shall be incremented |
cb | Specifies the counter block (16 bytes) |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkCcmParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkCcmParams | ( | ulong | dataLen, |
byte [] | nonce, | ||
byte [] | aad, | ||
ulong | macLen | ||
) |
Creates parameters for the CKM_AES_CCM mechanism
dataLen | Length of the data |
nonce | Nonce |
aad | Additional authentication data |
macLen | Length of the MAC (output following cipher text) in bytes |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkCmsSigParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkCmsSigParams | ( | IObjectHandle | certificateHandle, |
ulong? | signingMechanism, | ||
ulong? | digestMechanism, | ||
string | contentType, | ||
byte [] | requestedAttributes, | ||
byte [] | requiredAttributes | ||
) |
Creates parameters for the CKM_CMS_SIG mechanism
certificateHandle | Object handle for a certificate associated with the signing key |
signingMechanism | Mechanism to use when signing a constructed CMS SignedAttributes value |
digestMechanism | Mechanism to use when digesting the data |
contentType | String indicating complete MIME Content-type of message to be signed or null if the message is a MIME object |
requestedAttributes | DER-encoded list of CMS Attributes the caller requests to be included in the signed attributes |
requiredAttributes | DER-encoded list of CMS Attributes (with accompanying values) required to be included in the resulting signed attributes |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkDesCbcEncryptDataParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkDesCbcEncryptDataParams | ( | byte [] | iv, |
byte [] | data | ||
) |
Creates parameters for the CKM_DES_CBC_ENCRYPT_DATA and CKM_DES3_CBC_ENCRYPT_DATA mechanisms
iv | IV value (8 bytes) |
data | Data to encrypt |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkDsaParameterGenParam Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkDsaParameterGenParam | ( | ulong | hash, |
byte [] | seed, | ||
ulong | index | ||
) |
Creates parameters for the CKM_DSA_PROBABLISTIC_PARAMETER_GEN, CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN a CKM_DSA_FIPS_G_GEN mechanisms
hash | Mechanism value for the base hash used in PQG generation (CKM) |
seed | Seed value used to generate PQ and G |
index | Index value for generating G |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkEcdh1DeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkEcdh1DeriveParams | ( | ulong | kdf, |
byte [] | sharedData, | ||
byte [] | publicData | ||
) |
Creates parameters for the CKM_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE key derivation mechanisms
kdf | Key derivation function used on the shared secret value (CKD) |
sharedData | Some data shared between the two parties |
publicData | Other party's EC public key value |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkEcdh2DeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkEcdh2DeriveParams | ( | ulong | kdf, |
byte [] | sharedData, | ||
byte [] | publicData, | ||
ulong | privateDataLen, | ||
IObjectHandle | privateData, | ||
byte [] | publicData2 | ||
) |
Creates parameters for the CKM_ECMQV_DERIVE mechanism
kdf | Key derivation function used on the shared secret value (CKD) |
sharedData | Some data shared between the two parties |
publicData | Other party's first EC public key value |
privateDataLen | The length in bytes of the second EC private key |
privateData | Key handle for second EC private key value |
publicData2 | Other party's second EC public key value |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkEcdhAesKeyWrapParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkEcdhAesKeyWrapParams | ( | ulong | aesKeyBits, |
ulong | kdf, | ||
byte [] | sharedData | ||
) |
Creates parameters for the CKM_ECDH_AES_KEY_WRAP mechanism
aesKeyBits | Length of the temporary AES key in bits |
kdf | Key derivation function used on the shared secret value to generate AES key (CKD) |
sharedData | Data shared between the two parties |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkEcmqvDeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkEcmqvDeriveParams | ( | ulong | kdf, |
byte [] | sharedData, | ||
byte [] | publicData, | ||
ulong | privateDataLen, | ||
IObjectHandle | privateData, | ||
byte [] | publicData2, | ||
IObjectHandle | publicKey | ||
) |
Create parameters for the CKM_ECMQV_DERIVE mechanism
kdf | Key derivation function used on the shared secret value (CKD) |
sharedData | Some data shared between the two parties |
publicData | Other party's first EC public key value |
privateDataLen | The length in bytes of the second EC private key |
privateData | Key handle for second EC private key value |
publicData2 | Other party's second EC public key value |
publicKey | Handle to the first party's ephemeral public key |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkExtractParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkExtractParams | ( | ulong | bit | ) |
Creates parameters for the CKM_EXTRACT_KEY_FROM_KEY mechanism
bit | Specifies which bit of the base key should be used as the first bit of the derived key |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkGcmParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkGcmParams | ( | byte [] | iv, |
ulong | ivBits, | ||
byte [] | aad, | ||
ulong | tagBits | ||
) |
Creates parameters for the CKM_AES_GCM mechanism
iv | Initialization vector |
ivBits | Member is defined in PKCS#11 v2.40e1 headers but the description is not present in the specification |
aad | Additional authentication data |
tagBits | Length of authentication tag (output following cipher text) in bits |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkGostR3410DeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkGostR3410DeriveParams | ( | ulong | kdf, |
byte [] | publicData, | ||
byte [] | ukm | ||
) |
Creates parameters for the CKM_GOSTR3410_DERIVE mechanism
kdf | Additional key diversification algorithm (CKD) |
publicData | Data with public key of a receiver |
ukm | UKM data |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkGostR3410KeyWrapParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkGostR3410KeyWrapParams | ( | byte [] | wrapOID, |
byte [] | ukm, | ||
ulong | key | ||
) |
Creates parameters for the CKM_GOSTR3410_KEY_WRAP mechanism
wrapOID | Data with DER-encoding of the object identifier indicating the data object type of GOST 28147-89 |
ukm | Data with UKM |
key | Key handle of a sender for wrapping operation or key handle of a receiver for unwrapping operation |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkKeaDeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkKeaDeriveParams | ( | bool | isSender, |
byte [] | randomA, | ||
byte [] | randomB, | ||
byte [] | publicData | ||
) |
Creates parameters for the CKM_KEA_DERIVE mechanism
isSender | Option for generating the key (called a TEK). True if the sender (originator) generates the TEK, false if the recipient is regenerating the TEK. |
randomA | Ra data |
randomB | Rb data |
publicData | Other party's KEA public key value |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkKeyDerivationStringData Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkKeyDerivationStringData | ( | byte [] | data | ) |
Creates parameters for the CKM_CONCATENATE_BASE_AND_DATA, CKM_CONCATENATE_DATA_AND_BASE and CKM_XOR_BASE_AND_DATA mechanisms
data | Byte string used as the input for derivation mechanism |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkKeyWrapSetOaepParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkKeyWrapSetOaepParams | ( | byte | bc, |
byte [] | x | ||
) |
Creates parameters for the CKM_KEY_WRAP_SET_OAEP mechanism
bc | Block contents byte |
x | Concatenation of hash of plaintext data (if present) and extra data (if present) |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkKipParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkKipParams | ( | ulong? | mechanism, |
IObjectHandle | key, | ||
byte [] | seed | ||
) |
Creates parameters for the CKM_KIP_DERIVE, CKM_KIP_WRAP and CKM_KIP_MAC mechanisms
mechanism | Underlying cryptographic mechanism (CKM) |
key | Handle to a key that will contribute to the entropy of the derived key (CKM_KIP_DERIVE) or will be used in the MAC operation (CKM_KIP_MAC) |
seed | Input seed |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkMacGeneralParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkMacGeneralParams | ( | ulong | macLength | ) |
Creates parameters for the general-length MACing mechanisms (DES, DES3, CAST, CAST3, CAST128 (CAST5), IDEA, CDMF and AES), the general length HMACing mechanisms (MD2, MD5, SHA-1, SHA-256, SHA-384, SHA-512, RIPEMD-128 and RIPEMD-160) and the two SSL 3.0 MACing mechanisms (MD5 and SHA-1)
macLength | Length of the MAC produced, in bytes |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkOtpParam Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkOtpParam | ( | ulong | type, |
byte [] | value | ||
) |
Creates type, value and length of an OTP parameter
type | Parameter type |
value | Value of the parameter |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkOtpParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkOtpParams | ( | List< ICkOtpParam > | parameters | ) |
Creates parameters for OTP mechanisms in a generic fashion
parameters | List of OTP parameters |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkOtpSignatureInfo Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkOtpSignatureInfo | ( | byte [] | signature | ) |
Creates parameters returned by all OTP mechanisms in successful calls to Sign method
signature | Signature value returned by all OTP mechanisms in successful calls to Sign method |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkPbeParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkPbeParams | ( | byte [] | initVector, |
byte [] | password, | ||
byte [] | salt, | ||
ulong | iteration | ||
) |
Creates parameters for the CKM_PBE mechanisms and the CKM_PBA_SHA1_WITH_SHA1_HMAC mechanism
initVector | 8-byte initialization vector (IV), if an IV is required |
password | Password to be used in the PBE key generation |
salt | Salt to be used in the PBE key generation |
iteration | Number of iterations required for the generation |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkPkcs5Pbkd2Params Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkPkcs5Pbkd2Params | ( | ulong | saltSource, |
byte [] | saltSourceData, | ||
ulong | iterations, | ||
ulong | prf, | ||
byte [] | prfData, | ||
byte [] | password | ||
) |
Creates parameters for the CKM_PKCS5_PBKD2 mechanism
saltSource | Source of the salt value (CKZ) |
saltSourceData | Data used as the input for the salt source |
iterations | Number of iterations to perform when generating each block of random data |
prf | Pseudo-random function to used to generate the key (CKP) |
prfData | Data used as the input for PRF in addition to the salt value |
password | Password to be used in the PBE key generation |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkPkcs5Pbkd2Params2 Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkPkcs5Pbkd2Params2 | ( | ulong | saltSource, |
byte [] | saltSourceData, | ||
ulong | iterations, | ||
ulong | prf, | ||
byte [] | prfData, | ||
byte [] | password | ||
) |
Creates parameters for the CKM_PKCS5_PBKD2 mechanism
saltSource | Source of the salt value (CKZ) |
saltSourceData | Data used as the input for the salt source |
iterations | Number of iterations to perform when generating each block of random data |
prf | Pseudo-random function to used to generate the key (CKP) |
prfData | Data used as the input for PRF in addition to the salt value |
password | Password to be used in the PBE key generation |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkRc2CbcParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkRc2CbcParams | ( | ulong | effectiveBits, |
byte [] | iv | ||
) |
Creates parameters for the CKM_RC2_CBC and CKM_RC2_CBC_PAD mechanisms
effectiveBits | The effective number of bits in the RC2 search space |
iv | The initialization vector (IV) for cipher block chaining mode |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkRc2MacGeneralParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkRc2MacGeneralParams | ( | ulong | effectiveBits, |
ulong | macLength | ||
) |
Creates parameters for the CKM_RC2_MAC_GENERAL mechanism
effectiveBits | The effective number of bits in the RC2 search space |
macLength | Length of the MAC produced, in bytes |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkRc2Params Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkRc2Params | ( | ulong | effectiveBits | ) |
Creates parameters for the CKM_RC2_ECB and CKM_RC2_MAC mechanisms
effectiveBits | Effective number of bits in the RC2 search space |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkRc5CbcParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkRc5CbcParams | ( | ulong | wordsize, |
ulong | rounds, | ||
byte [] | iv | ||
) |
Creates parameters for the CKM_RC5_CBC and CKM_RC5_CBC_PAD mechanisms
wordsize | Wordsize of RC5 cipher in bytes |
rounds | Number of rounds of RC5 encipherment |
iv | Initialization vector (IV) for CBC encryption |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkRc5MacGeneralParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkRc5MacGeneralParams | ( | ulong | wordsize, |
ulong | rounds, | ||
ulong | macLength | ||
) |
Creates parameters for the CKM_RC5_MAC_GENERAL mechanism
wordsize | Wordsize of RC5 cipher in bytes |
rounds | Number of rounds of RC5 encipherment |
macLength | Length of the MAC produced, in bytes |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkRc5Params Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkRc5Params | ( | ulong | wordsize, |
ulong | rounds | ||
) |
Creates parameters for the CKM_RC5_ECB and CKM_RC5_MAC mechanisms
wordsize | Wordsize of RC5 cipher in bytes |
rounds | Number of rounds of RC5 encipherment |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkRsaAesKeyWrapParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkRsaAesKeyWrapParams | ( | ulong | aesKeyBits, |
ICkRsaPkcsOaepParams | oaepParams | ||
) |
Creates parameters for the CKM_RSA_AES_KEY_WRAP mechanism
aesKeyBits | Length of the temporary AES key in bits |
oaepParams | Parameters of the temporary AES key wrapping |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkRsaPkcsOaepParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkRsaPkcsOaepParams | ( | ulong | hashAlg, |
ulong | mgf, | ||
ulong | source, | ||
byte [] | sourceData | ||
) |
Creates parameters for the CKM_RSA_PKCS_OAEP mechanism
hashAlg | Mechanism ID of the message digest algorithm used to calculate the digest of the encoding parameter (CKM) |
mgf | Mask generation function to use on the encoded block (CKG) |
source | Source of the encoding parameter (CKZ) |
sourceData | Data used as the input for the encoding parameter source |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkRsaPkcsPssParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkRsaPkcsPssParams | ( | ulong | hashAlg, |
ulong | mgf, | ||
ulong | len | ||
) |
Creates parameters for the CKM_RSA_PKCS_PSS mechanism
hashAlg | Hash algorithm used in the PSS encoding (CKM) |
mgf | Mask generation function to use on the encoded block (CKG) |
len | Length, in bytes, of the salt value used in the PSS encoding |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkSeedCbcEncryptDataParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkSeedCbcEncryptDataParams | ( | byte [] | iv, |
byte [] | data | ||
) |
Creates parameters for the CKM_SEED_CBC_ENCRYPT_DATA mechanism
iv | IV value (16 bytes) |
data | Data value part that must be a multiple of 16 bytes long |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkSkipjackPrivateWrapParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkSkipjackPrivateWrapParams | ( | byte [] | password, |
byte [] | publicData, | ||
byte [] | randomA, | ||
byte [] | primeP, | ||
byte [] | baseG, | ||
byte [] | subprimeQ | ||
) |
Creates parameters for the CKM_SKIPJACK_PRIVATE_WRAP mechanism
password | User-supplied password |
publicData | Other party's key exchange public key value |
randomA | Ra data |
primeP | Prime, p, value |
baseG | Base, g, value |
subprimeQ | Subprime, q, value |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkSkipjackRelayxParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkSkipjackRelayxParams | ( | byte [] | oldWrappedX, |
byte [] | oldPassword, | ||
byte [] | oldPublicData, | ||
byte [] | oldRandomA, | ||
byte [] | newPassword, | ||
byte [] | newPublicData, | ||
byte [] | newRandomA | ||
) |
Creates parameters for the CKM_SKIPJACK_RELAYX mechanism
oldWrappedX | Old wrapper key |
oldPassword | Old user-supplied password |
oldPublicData | Old key exchange public key value |
oldRandomA | Old Ra data |
newPassword | New user-supplied password |
newPublicData | New key exchange public key value |
newRandomA | New Ra data |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkSsl3KeyMatParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkSsl3KeyMatParams | ( | ulong | macSizeInBits, |
ulong | keySizeInBits, | ||
ulong | ivSizeInBits, | ||
bool | isExport, | ||
ICkSsl3RandomData | randomInfo | ||
) |
Creates parameters for the CKM_SSL3_KEY_AND_MAC_DERIVE mechanism
macSizeInBits | The length (in bits) of the MACing keys agreed upon during the protocol handshake phase |
keySizeInBits | The length (in bits) of the secret keys agreed upon during the protocol handshake phase |
ivSizeInBits | The length (in bits) of the IV agreed upon during the protocol handshake phase or if no IV is required, the length should be set to 0 |
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 |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkSsl3MasterKeyDeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkSsl3MasterKeyDeriveParams | ( | ICkSsl3RandomData | randomInfo, |
bool | dh | ||
) |
Creates parameters for the CKM_SSL3_MASTER_KEY_DERIVE and CKM_SSL3_MASTER_KEY_DERIVE_DH mechanisms
randomInfo | Client's and server's random data information |
dh | Set to false for CKM_SSL3_MASTER_KEY_DERIVE mechanism and to true for CKM_SSL3_MASTER_KEY_DERIVE_DH mechanism |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkSsl3RandomData Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkSsl3RandomData | ( | byte [] | clientRandom, |
byte [] | serverRandom | ||
) |
Creates information about the random data of a client and a server in an SSL context
clientRandom | Client's random data |
serverRandom | Server's random data |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkTls12KeyMatParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkTls12KeyMatParams | ( | ulong | macSizeInBits, |
ulong | keySizeInBits, | ||
ulong | ivSizeInBits, | ||
bool | isExport, | ||
ICkSsl3RandomData | randomInfo, | ||
ulong | prfHashMechanism | ||
) |
Creates parameters for the CKM_TLS12_KEY_AND_MAC_DERIVE mechanism
macSizeInBits | The length (in bits) of the MACing keys agreed upon during the protocol handshake phase |
keySizeInBits | The length (in bits) of the secret keys agreed upon during the protocol handshake phase |
ivSizeInBits | The length (in bits) of the IV agreed upon during the protocol handshake phase |
isExport | Flag which must be set to false because export cipher suites must not be used in TLS 1.1 and later |
randomInfo | Client's and server's random data information |
prfHashMechanism | Base hash used in the underlying TLS1.2 PRF operation used to derive the master key (CKM) |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkTls12MasterKeyDeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkTls12MasterKeyDeriveParams | ( | ICkSsl3RandomData | randomInfo, |
ulong | prfHashMechanism | ||
) |
Creates parameters for the CKM_TLS12_MASTER_KEY_DERIVE mechanism
randomInfo | Client's and server's random data information |
prfHashMechanism | Base hash used in the underlying TLS 1.2 PRF operation used to derive the master key (CKM) |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkTlsKdfParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkTlsKdfParams | ( | ulong | prfMechanism, |
byte [] | label, | ||
ICkSsl3RandomData | randomInfo, | ||
byte [] | contextData | ||
) |
Create parameters for the CKM_TLS_KDF mechanism
prfMechanism | Hash mechanism used in the TLS 1.2 PRF construct or CKM_TLS_PRF to use with the TLS 1.0 and 1.1 PRF construct (CKM) |
label | Label for this key derivation |
randomInfo | Random data for the key derivation |
contextData | Context data for this key derivation |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkTlsMacParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkTlsMacParams | ( | ulong | prfHashMechanism, |
ulong | macLength, | ||
ulong | serverOrClient | ||
) |
Creates parameters for the CKM_TLS_MAC mechanism
prfHashMechanism | Hash mechanism used in the TLS12 PRF construct or CKM_TLS_PRF to use with the TLS 1.0 and 1.1 PRF construct (CKM) |
macLength | Length of the MAC tag required or offered |
serverOrClient | Should be set to "1" for "server finished" label or to "2" for "client finished" label |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkTlsPrfParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkTlsPrfParams | ( | byte [] | seed, |
byte [] | label, | ||
ulong | outputLen | ||
) |
Creates parameters for the CKM_TLS_PRF mechanism
seed | Input seed |
label | Identifying label |
outputLen | Length in bytes that the output to be created shall have |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkVersion Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkVersion | ( | byte | major, |
byte | minor | ||
) |
Creates parameters for the CKM_SSL3_PRE_MASTER_KEY_GEN mechanism
major | Major version number (the integer portion of the version) |
minor | Minor version number (the hundredths portion of the version) |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkWtlsKeyMatParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkWtlsKeyMatParams | ( | ulong | digestMechanism, |
ulong | macSizeInBits, | ||
ulong | keySizeInBits, | ||
ulong | ivSizeInBits, | ||
ulong | sequenceNumber, | ||
bool | isExport, | ||
ICkWtlsRandomData | randomInfo | ||
) |
Creates parameters for the CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE and the CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE mechanisms
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 |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkWtlsMasterKeyDeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkWtlsMasterKeyDeriveParams | ( | ulong | digestMechanism, |
ICkWtlsRandomData | randomInfo, | ||
bool | dh | ||
) |
Creates parameters for the CKM_WTLS_MASTER_KEY_DERIVE and CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC mechanisms
digestMechanism | Digest mechanism to be used (CKM) |
randomInfo | Client's and server's random data information |
dh | Set to false for CKM_WTLS_MASTER_KEY_DERIVE mechanism and to true for CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC mechanism |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkWtlsPrfParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkWtlsPrfParams | ( | ulong | digestMechanism, |
byte [] | seed, | ||
byte [] | label, | ||
ulong | outputLen | ||
) |
Creates parameters for the CKM_WTLS_PRF mechanism
digestMechanism | Digest mechanism to be used (CKM) |
seed | Input seed |
label | Identifying label |
outputLen | Length in bytes that the output to be created shall have |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkWtlsRandomData Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkWtlsRandomData | ( | byte [] | clientRandom, |
byte [] | serverRandom | ||
) |
Creates information about the random data of a client and a server in a WTLS context
clientRandom | Client's random data |
serverRandom | Server's random data |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkX942Dh1DeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkX942Dh1DeriveParams | ( | ulong | kdf, |
byte [] | otherInfo, | ||
byte [] | publicData | ||
) |
Creates parameters for the CKM_X9_42_DH_DERIVE key derivation mechanism
kdf | Key derivation function used on the shared secret value (CKD) |
otherInfo | Some data shared between the two parties |
publicData | Other party's X9.42 Diffie-Hellman public key value |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkX942Dh2DeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkX942Dh2DeriveParams | ( | ulong | kdf, |
byte [] | otherInfo, | ||
byte [] | publicData, | ||
ulong | privateDataLen, | ||
IObjectHandle | privateData, | ||
byte [] | publicData2 | ||
) |
Creates parameters for the CKM_X9_42_DH_HYBRID_DERIVE and CKM_X9_42_MQV_DERIVE key derivation mechanisms
kdf | Key derivation function used on the shared secret value (CKD) |
otherInfo | Some data shared between the two parties |
publicData | Other party's first X9.42 Diffie-Hellman public key value |
privateDataLen | The length in bytes of the second X9.42 Diffie-Hellman private key |
privateData | Key handle for second X9.42 Diffie-Hellman private key value |
publicData2 | Other party's second X9.42 Diffie-Hellman public key value |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.
ICkX942MqvDeriveParams Net.Pkcs11Interop.HighLevelAPI.Factories.IMechanismParamsFactory.CreateCkX942MqvDeriveParams | ( | ulong | kdf, |
byte [] | otherInfo, | ||
byte [] | publicData, | ||
ulong | privateDataLen, | ||
IObjectHandle | privateData, | ||
byte [] | publicData2, | ||
IObjectHandle | publicKey | ||
) |
Creates parameters for the CKM_X9_42_MQV_DERIVE key derivation mechanism
kdf | Key derivation function used on the shared secret value (CKD) |
otherInfo | Some data shared between the two parties |
publicData | Other party's first X9.42 Diffie-Hellman public key value |
privateDataLen | The length in bytes of the second X9.42 Diffie-Hellman private key |
privateData | Key handle for second X9.42 Diffie-Hellman private key value |
publicData2 | Other party's second X9.42 Diffie-Hellman public key value |
publicKey | Handle to the first party's ephemeral public key |
Implemented in Net.Pkcs11Interop.HighLevelAPI.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI40.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI41.Factories.MechanismParamsFactory, Net.Pkcs11Interop.HighLevelAPI80.Factories.MechanismParamsFactory, and Net.Pkcs11Interop.HighLevelAPI81.Factories.MechanismParamsFactory.