Signer class

Constructors

Signer({String secretId, String secretKey, String service, bool allowSignBuffer})

Properties

algorithm String
read / write
allowSignBuffer bool
signer options
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secretId String
credential
read / write
secretKey String
read / write
service String
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
tc3sign({String method, String url, dynamic headers, dynamic params, num timestamp, dynamic options = const {}}) → dynamic
计算签名信息
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

sign({String secretId, String secretKey, String method, String url, dynamic headers, dynamic params, int timestamp, bool withSignedParams}) → dynamic