메소드 | 설명 | |
---|---|---|
GetClientResponseDigest ( string Algorithm, string Username, string Realm, string Nonce, int NonceCount, string ClientNonce, string QOP, string URI ) : string |
Calculate a Server Response Digest in Accordance to RFC 2617
|
|
GetNewChallenge ( ) : string |
Generates a new random challenge
|
|
GetServerResponseDigest ( string Algorithm, string Username, string Realm, string Nonce, int NonceCount, string ClientNonce, string QOP, string URI ) : string |
Calculate a Server Response Digest in Accordance to RFC 2617
|
|
GetSessionKey ( string Username, string Realm, string Nonce, string ClientNonce ) : byte[] |
Calculates a session key from the supplied data
|
|
Protect ( byte Data, byte SessionKey ) : byte[] |
Encrypts data using the AES algorithm
|
|
SHA256_AESAuthenticator ( string Password ) : System |
Initializes a new instance of the SHA256_AESAuthenticator class
|
|
Unprotect ( byte Data, byte SessionKey, int Length ) : byte[] |
Decrypts data using the AES algorithm
|
메소드 | 설명 | |
---|---|---|
CalculateDigest ( string Username, string Realm, string Password, string Nonce, int NonceCount, string ClientNonce, string QOP, string Method, string URI, |
Calculate a Response Digest in Accordance to RFC 2617
|
|
Decrypt ( byte Data, |
Decrypts data
|
|
EnHex ( byte data ) : string |
Calculates a Hex string representation of data, in accordance to the 32LHEX format of the Authorization Request Header in RFC 2617
|
|
Encrypt ( byte Data, |
Encrypt data
|
|
GetHashAlgorithm ( ) : |
Gets the HashAlgorithm object used by this Authenticator
|
public GetClientResponseDigest ( string Algorithm, string Username, string Realm, string Nonce, int NonceCount, string ClientNonce, string QOP, string URI ) : string | ||
Algorithm | string | The Algorithm name |
Username | string | The Username |
Realm | string | The Realm |
Nonce | string | The Nonce |
NonceCount | int | The Nonce count |
ClientNonce | string | The Client nonce |
QOP | string | QOP |
URI | string | URI |
리턴 | string |
public GetServerResponseDigest ( string Algorithm, string Username, string Realm, string Nonce, int NonceCount, string ClientNonce, string QOP, string URI ) : string | ||
Algorithm | string | The Algorithm name |
Username | string | The Username |
Realm | string | The Realm |
Nonce | string | The Nonce |
NonceCount | int | The Nonce count |
ClientNonce | string | The Client nonce |
QOP | string | QOP |
URI | string | URI |
리턴 | string |
public GetSessionKey ( string Username, string Realm, string Nonce, string ClientNonce ) : byte[] | ||
Username | string | The Username |
Realm | string | The Realm |
Nonce | string | The Nonce |
ClientNonce | string | The ClientNonce |
리턴 | byte[] |
public Protect ( byte Data, byte SessionKey ) : byte[] | ||
Data | byte | Plaintext data |
SessionKey | byte | The encryption session key |
리턴 | byte[] |
public SHA256_AESAuthenticator ( string Password ) : System | ||
Password | string | Secret password used for authentication and generating encryption keys |
리턴 | System |
public Unprotect ( byte Data, byte SessionKey, int Length ) : byte[] | ||
Data | byte | Encrypted Data |
SessionKey | byte | Encrytion Session key |
Length | int | Length of descrypted data |
리턴 | byte[] |