utils

package
v0.0.0-...-fb7f86c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePublicKeyPem

func ParsePublicKeyPem(publicPem []byte) (interface{}, error)

ParsePublicKeyPem parses the public key from the PEM encoded public key.

func ParseUserIDFromSubject

func ParseUserIDFromSubject(subject string) (int64, error)

ParseUserIDFromSubject parses the user ID from format "user:id:<id>".

Types

This section is empty.

Jump to

Keyboard shortcuts

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