Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
func New ¶
New returns a new instance of key with private and public key If the configuration requires a new set of keys generated, it will generate them accordingly
func (*Key) PrivateKey ¶
func (k *Key) PrivateKey() (*rsa.PrivateKey, error)
PrivateKey returns a private key object from the configured path
type SignerType ¶
type SignerType int
const ( JWT SignerType = iota JWE )
func (SignerType) String ¶
func (s SignerType) String() jose.ContentType
Click to show internal directories.
Click to hide internal directories.