examples

package
v0.0.0-...-d829828 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2017 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSSignature

type TLSSignature struct {
	AccountType string
	Identifier  string
	AppId3rd    string
	SDKAppId    string
	Version     string
	Expire      int64
	PriKey      string
	PubKey      string
	Time        time.Time
}

func (*TLSSignature) CheckTLSSig

func (s *TLSSignature) CheckTLSSig(sig string) (bool, error)

func (*TLSSignature) GenTLSSig

func (s *TLSSignature) GenTLSSig() (string, error)

func (*TLSSignature) GetTLSFieldsMap

func (s *TLSSignature) GetTLSFieldsMap() map[string]string

func (*TLSSignature) GetTLSFieldsSerialString

func (s *TLSSignature) GetTLSFieldsSerialString() string

func (*TLSSignature) GetTLSFieldsSerialStringFromMap

func (s *TLSSignature) GetTLSFieldsSerialStringFromMap(fields map[string]string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL