Click or drag to resize

SecurIdTokenValidatePasswordForDecryption Method

Checks if the supplied password is valid for use in decrypting this token.

Namespace:  SamoyedSoftware.ursa
Assembly:  SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax
protected string ValidatePasswordForDecryption(
	string password
)

Parameters

password
Type: SystemString
A string containing a password.

Return Value

Type: String
A copy of the password, if a password is required for decryption. Returns an empty string if a password is not required for decryption.
Exceptions
ExceptionCondition
ursaExceptionThrown with a ErrorCode value of ursaErrorPasswordRequired if a password is required for decryption and password is null, empty, or whitespace.
See Also