Documentation ¶
Index ¶
- Variables
- func GetASCert() *x509.Certificate
- func GetASCertFile() string
- func GetASKeyFile() string
- func GetASPrivKey() *rsa.PrivateKey
- func GetAuthKeyFile() string
- func GetBaseValue() string
- func GetConfigs() *tasConfig
- func GetDAAGrpPrivKey() (string, string)
- func GetHWCert() *x509.Certificate
- func GetHWCertFile() string
- func GetRestPort() string
- func GetServerPort() string
- func InitFlags()
- func InitializeAS() error
- func LoadConfigs()
- func SetBaseValue(s string)
Constants ¶
This section is empty.
Variables ¶
var ( // TokenFlag means token flag TokenFlag *bool )
Functions ¶
func GetASCert ¶
func GetASCert() *x509.Certificate
GetASCert returns the as cert file in *x509.Certificate format.
func GetASCertFile ¶
func GetASCertFile() string
GetASCertFile returns the tas service key cert file configuration.
func GetASKeyFile ¶
func GetASKeyFile() string
GetASKeyFile returns the tas service private key file configuration.
func GetASPrivKey ¶
func GetASPrivKey() *rsa.PrivateKey
GetASPrivKey returns the as private key in *rsa.PrivateKey format.
func GetAuthKeyFile ¶
func GetAuthKeyFile() string
GetAuthKeyFile returns the tas service auth key file configuration.
func GetBaseValue ¶
func GetBaseValue() string
GetBaseValue returns the tas service basevalue configuration.
func GetDAAGrpPrivKey ¶
GetDAAGrpPrivKey returns the tas service daa crp private key x and private key y configuration.
func GetHWCertFile ¶
func GetHWCertFile() string
GetHWCertFile returns the tas service hua wei IT ca cert file configuration.
func GetRestPort ¶
func GetRestPort() string
GetRestPort returns the tas restful api interface ip:port configuration.
func GetServerPort ¶
func GetServerPort() string
GetServerPort returns the tas service ip:port configuration.
func InitializeAS ¶
func InitializeAS() error
InitializeAS initializes tas server by parsing as cert, parsing as private key and parsing hw it ca cert.
func SetBaseValue ¶
func SetBaseValue(s string)
SetBaseValue sets the tas service basevalue configuration.
Types ¶
This section is empty.