identity

package
v0.0.86 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPrivateKey

func GetPrivateKey(path string, password string) (*rsa.PrivateKey, error)

GetPrivateKey extract encrypted RSA private key from PEM file

func GetPublicKey

func GetPublicKey(path string) (*rsa.PublicKey, error)

GetPublicKey extracts RSA public key from PEM file of public key

func GetPublicKeyFromCertificate

func GetPublicKeyFromCertificate(path string) (*rsa.PublicKey, error)

GetPublicKeyFromCertificate extracts RSA public key from PEM file of certificate

func GetTokenString

func GetTokenString(r *http.Request) string

GetTokenString retrieves bearer token string from the specified request

Types

This section is empty.

Jump to

Keyboard shortcuts

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