C# Class D2L.Extensibility.AuthSdk.Impl.D2LSigner

A convenience class to help with the signature generation used in the D2L authentication system
Mostra file Open project: Brightspace/valence-sdk-dotnet Class Usage Examples

Private Methods

Method Description
ComputeHash ( byte keyBytes, byte dataBytes ) : byte[]

Computes the hmacSha256 hash of the data using the key given

CustomBase64Encode ( byte hash ) : string

Converts the hash to a string and replaces characters where appropriate

GetBase64HashString ( string key, string data ) : string

Provides the D2L custom encoded version of hmacSha256 hash of the data provided using the key provided

GetBytes ( string key ) : byte[]

Provides the byte value of the given String