C# Class Tpm2Lib.AsymParms

Inheritance: TpmStructureBase, IPublicParmsUnion
显示文件 Open project: Microsoft/TSS.MSR Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AsymParms ( ) : System
AsymParms ( AsymParms the_AsymParms ) : System
AsymParms ( SymDefObject the_symmetric, IAsymSchemeUnion the_scheme ) : System
Copy ( ) : AsymParms
GetUnionSelector ( ) : TpmAlgId

Method Details

AsymParms() public method

public AsymParms ( ) : System
return System

AsymParms() public method

public AsymParms ( AsymParms the_AsymParms ) : System
the_AsymParms AsymParms
return System

AsymParms() public method

public AsymParms ( SymDefObject the_symmetric, IAsymSchemeUnion the_scheme ) : System
the_symmetric SymDefObject the companion symmetric algorithm for a restricted decryption key and shall be set to a supported symmetric algorithm This field is optional for keys that are not decryption keys and shall be set to TPM_ALG_NULL if not used.
the_scheme IAsymSchemeUnion for a key with the sign attribute SET, a valid signing scheme for the key type for a key with the decrypt attribute SET, a valid key exchange protocol for a key with sign and decrypt attributes, shall be TPM_ALG_NULL(One of KeySchemeEcdh, KeySchemeEcmqv, SigSchemeRsassa, SigSchemeRsapss, SigSchemeEcdsa, SigSchemeEcdaa, SigSchemeSm2, SigSchemeEcschnorr, EncSchemeRsaes, EncSchemeOaep, SchemeHash, NullAsymScheme)
return System

Copy() public method

public Copy ( ) : AsymParms
return AsymParms

GetUnionSelector() public method

public GetUnionSelector ( ) : TpmAlgId
return TpmAlgId