util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ID

func ID() string

func ParseCertificateStr

func ParseCertificateStr(cert string) string

func ParseRsaPrivateKeyFromPemStr

func ParseRsaPrivateKeyFromPemStr(privPEM string) (*rsa.PrivateKey, error)

func Sign

func Sign(a string, k *rsa.PrivateKey) (string, error)

Types

type ClaimAttr

type ClaimAttr struct {
	Format string
	Name   string
}

func GetClaimAttribute

func GetClaimAttribute(c string) *ClaimAttr

Jump to

Keyboard shortcuts

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