package
0.0.0-20241219130851-6d06eac5af09
Repository: https://github.com/covesa/vissr.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Export KeyPair to files named as given (ECDSA and RSA supported, pointers to privKey must be given).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Generates ECDSA private Key using given curve.
No description provided by the author
********* KEY GENERATION *********** Generates RSA private key of given size.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Obtains a tls.Config struct, giving support to https.listenandservetls.
No description provided by the author
No description provided by the author
Gets ecdsa private key from pem file.
********* PEM KEY IMPORT / EXPORT *********** Gets rsa private key from pem file.
Gets rsa public key from pem file.
No description provided by the author
No description provided by the author
Gets Json string (or nothing) and adds received key and value, if it doesnt receive a value or key, it does nothing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Gets ECDSA key in pem format and decodes it into ecdsa.PrivateKey.
********* KEY ENCODING / DECODING *********** Gets rsa key in pem format and decodes it into rsa.privatekey.
Gets rsa pub key in pem format and decodes it into rsa.publickey.
Returns ECDSA Keys as string in PEM format.
Returns RSA Keys as string in PEM format.
No description provided by the author
No description provided by the author
Initializes TransportSec Variables.
No description provided by the author
No description provided by the author
No description provided by the author
func SetErrorResponse(reqMap map[string]interface{}, errRespMap map[string]interface{}, number string, reason string, message string) {.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* * The log file is trimmed to 20% of its size when exceeding 10MB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IpModel = [0,1,2] = [localhost,extIP,envVarIP].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
Trace *log.Logger.
const LOG_FILE = "servercore-log.txt".
No description provided by the author
name change to caps allowing to export outside utils.
relative path to the directory containing the transportSec.json file.
No description provided by the author
No description provided by the author
len of WsClientIndexList must match the number of select cases in wsMgr.

# Structs

No description provided by the author
********* EXTENDED JSON WEB TOKEN *********** ********* Extends the JsonWebToken type, including a map with the claims in header ********* and a map with the claims in payload.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
********* JSON WEB KEY ENCODING *********** ********* Contained in PoP, follows RFC7517 standard.
********* JSON WEB TOKEN *********** ********* Basic JWT including Header, Payload and encoded parts.
No description provided by the author
No description provided by the author
********* POP TOKEN *********** ********* POP Token is used by the client to attest its possession of a private key ********* More info in the README of the repo.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

*********** Client response handlers ********************************************************************************/.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author