Méthode | Description | |
---|---|---|
AuthValue ( ) : System |
Create an zero-length AuthValue
|
|
AuthValue ( byte auth ) : System |
Create an AuthValue with the specified value. Note that trailing zeros are not removed.
|
|
Equals ( Object obj ) : bool | ||
FromRandom ( int numBytes ) : |
Creates an auth value comprising the specified number of random bytes. Since the TPM removes trailing zeros, this routine makes sure that the last byte is non-zero.
|
|
FromString ( TpmAlgId hashAlg, string password ) : |
Create an AuthValue from the hash of the string. See TpmHash.FromString for the transformation used.
|
|
GetHashCode ( ) : int | ||
operator ( ) : bool |
Returns true if the two arguments either are both null references or contain equal authorization values.
|
Méthode | Description | |
---|---|---|
IsNull ( |
public static FromRandom ( int numBytes ) : |
||
numBytes | int | |
Résultat |
public static FromString ( TpmAlgId hashAlg, string password ) : |
||
hashAlg | TpmAlgId | |
password | string | |
Résultat |