C# 클래스 Dwolla.Helpers.DwollaSignatureUtil

파일 보기 프로젝트 열기: justinsoliz/dwolla.net

공개 메소드들

메소드 설명
GenerateSignature ( string appKey, string appSecret, string orderId, System.DateTime utcTimestamp ) : string
UnixEpochTime ( System.DateTime utcTime ) : long
VerifyCallbackSignature ( string appSecret, string receivedCallbackSignature, string receivedCheckoutId, decimal receivedAmount ) : bool

비공개 메소드들

메소드 설명
GetHmacsha1InHex ( string key, string data ) : string

메소드 상세

GenerateSignature() 공개 정적인 메소드

public static GenerateSignature ( string appKey, string appSecret, string orderId, System.DateTime utcTimestamp ) : string
appKey string
appSecret string
orderId string
utcTimestamp System.DateTime
리턴 string

UnixEpochTime() 공개 정적인 메소드

public static UnixEpochTime ( System.DateTime utcTime ) : long
utcTime System.DateTime
리턴 long

VerifyCallbackSignature() 공개 정적인 메소드

public static VerifyCallbackSignature ( string appSecret, string receivedCallbackSignature, string receivedCheckoutId, decimal receivedAmount ) : bool
appSecret string
receivedCallbackSignature string
receivedCheckoutId string
receivedAmount decimal
리턴 bool