C# Class Tpm2Lib.AlgorithmDetailEcc

Inheritance: TpmStructureBase
Mostra file Open project: Microsoft/TSS.MSR Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AlgorithmDetailEcc ( ) : System
AlgorithmDetailEcc ( AlgorithmDetailEcc the_AlgorithmDetailEcc ) : System
AlgorithmDetailEcc ( EccCurve the_curveID, ushort the_keySize, IKdfSchemeUnion the_kdf, IAsymSchemeUnion the_sign, byte the_p, byte the_a, byte the_b, byte the_gX, byte the_gY, byte the_n, byte the_h ) : System
Copy ( ) : AlgorithmDetailEcc

Method Details

AlgorithmDetailEcc() public method

public AlgorithmDetailEcc ( ) : System
return System

AlgorithmDetailEcc() public method

public AlgorithmDetailEcc ( AlgorithmDetailEcc the_AlgorithmDetailEcc ) : System
the_AlgorithmDetailEcc AlgorithmDetailEcc
return System

AlgorithmDetailEcc() public method

public AlgorithmDetailEcc ( EccCurve the_curveID, ushort the_keySize, IKdfSchemeUnion the_kdf, IAsymSchemeUnion the_sign, byte the_p, byte the_a, byte the_b, byte the_gX, byte the_gY, byte the_n, byte the_h ) : System
the_curveID EccCurve identifier for the curve
the_keySize ushort Size in bits of the key
the_kdf IKdfSchemeUnion if not TPM_ALG_NULL, the required KDF and hash algorithm used in secret sharing operations(One of SchemeMgf1, SchemeKdf1Sp80056a, SchemeKdf2, SchemeKdf1Sp800108, NullKdfScheme)
the_sign IAsymSchemeUnion If not TPM_ALG_NULL, this is the mandatory signature scheme that is required to be used with this curve.(One of KeySchemeEcdh, KeySchemeEcmqv, SigSchemeRsassa, SigSchemeRsapss, SigSchemeEcdsa, SigSchemeEcdaa, SigSchemeSm2, SigSchemeEcschnorr, EncSchemeRsaes, EncSchemeOaep, SchemeHash, NullAsymScheme)
the_p byte Fp (the modulus)
the_a byte coefficient of the linear term in the curve equation
the_b byte constant term for curve equation
the_gX byte x coordinate of base point G
the_gY byte y coordinate of base point G
the_n byte order of G
the_h byte cofactor (a size of zero indicates a cofactor of 1)
return System

Copy() public method

public Copy ( ) : AlgorithmDetailEcc
return AlgorithmDetailEcc