C# 클래스 Tpm2Lib.RsaParms

상속: TpmStructureBase, IPublicParmsUnion
파일 보기 프로젝트 열기: Microsoft/TSS.MSR 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultExponent byte[]

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Copy ( ) : RsaParms
GetUnionSelector ( ) : TpmAlgId
RsaParms ( ) : System
RsaParms ( RsaParms the_RsaParms ) : System
RsaParms ( SymDefObject the_symmetric, IAsymSchemeUnion the_scheme, ushort the_keyBits, uint the_exponent ) : System

메소드 상세

Copy() 공개 메소드

public Copy ( ) : RsaParms
리턴 RsaParms

GetUnionSelector() 공개 메소드

public GetUnionSelector ( ) : TpmAlgId
리턴 TpmAlgId

RsaParms() 공개 메소드

public RsaParms ( ) : System
리턴 System

RsaParms() 공개 메소드

public RsaParms ( RsaParms the_RsaParms ) : System
the_RsaParms RsaParms
리턴 System

RsaParms() 공개 메소드

public RsaParms ( SymDefObject the_symmetric, IAsymSchemeUnion the_scheme, ushort the_keyBits, uint the_exponent ) : 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 scheme.scheme shall be: for an unrestricted signing key, either TPM_ALG_RSAPSS TPM_ALG_RSASSA or TPM_ALG_NULL for a restricted signing key, either TPM_ALG_RSAPSS or TPM_ALG_RSASSA for an unrestricted decryption key, TPM_ALG_RSAES, TPM_ALG_OAEP, or TPM_ALG_NULL unless the object also has the sign attribute for a restricted decryption key, TPM_ALG_NULL NOTE When both sign and decrypt are SET, restricted shall be CLEAR and scheme shall be TPM_ALG_NULL.(One of KeySchemeEcdh, KeySchemeEcmqv, SigSchemeRsassa, SigSchemeRsapss, SigSchemeEcdsa, SigSchemeEcdaa, SigSchemeSm2, SigSchemeEcschnorr, EncSchemeRsaes, EncSchemeOaep, SchemeHash, NullAsymScheme)
the_keyBits ushort number of bits in the public modulus
the_exponent uint the public exponent A prime number greater than 2. When zero, indicates that the exponent is the default of 216 + 1
리턴 System

프로퍼티 상세

DefaultExponent 공개적으로 정적으로 프로퍼티

Default exponent (65537)
public static byte[] DefaultExponent
리턴 byte[]