C# Класс Tpm2Lib.EccParms

Наследование: TpmStructureBase, IPublicParmsUnion
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Copy ( ) : EccParms
EccParms ( ) : System
EccParms ( EccParms the_EccParms ) : System
EccParms ( SymDefObject the_symmetric, IAsymSchemeUnion the_scheme, EccCurve the_curveID, IKdfSchemeUnion the_kdf ) : System
GetUnionSelector ( ) : TpmAlgId

Описание методов

Copy() публичный Метод

public Copy ( ) : EccParms
Результат EccParms

EccParms() публичный Метод

public EccParms ( ) : System
Результат System

EccParms() публичный Метод

public EccParms ( EccParms the_EccParms ) : System
the_EccParms EccParms
Результат System

EccParms() публичный Метод

public EccParms ( SymDefObject the_symmetric, IAsymSchemeUnion the_scheme, EccCurve the_curveID, IKdfSchemeUnion the_kdf ) : System
the_symmetric SymDefObject for a restricted decryption key, shall be set to a supported symmetric algorithm, key size. and mode. if the key is not a restricted decryption key, this field shall be set to TPM_ALG_NULL.
the_scheme IAsymSchemeUnion If the sign attribute of the key is SET, then this shall be a valid signing scheme. NOTE If the sign parameter in curveID indicates a mandatory scheme, then this field shall have the same value. If the decrypt attribute of the key is SET, then this shall be a valid key exchange scheme or TPM_ALG_NULL. If the key is a Storage Key, then this field shall be TPM_ALG_NULL.(One of KeySchemeEcdh, KeySchemeEcmqv, SigSchemeRsassa, SigSchemeRsapss, SigSchemeEcdsa, SigSchemeEcdaa, SigSchemeSm2, SigSchemeEcschnorr, EncSchemeRsaes, EncSchemeOaep, SchemeHash, NullAsymScheme)
the_curveID EccCurve ECC curve ID
the_kdf IKdfSchemeUnion an optional key derivation scheme for generating a symmetric key from a Z value If the kdf parameter associated with curveID is not TPM_ALG_NULL then this is required to be NULL. NOTE There are currently no commands where this parameter has effect and, in the reference code, this field needs to be set to TPM_ALG_NULL.(One of SchemeMgf1, SchemeKdf1Sp80056a, SchemeKdf2, SchemeKdf1Sp800108, NullKdfScheme)
Результат System

GetUnionSelector() публичный Метод

public GetUnionSelector ( ) : TpmAlgId
Результат TpmAlgId