From 7eaf420bb98c61938b2ed8d193bdcc01f9016529 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Sat, 27 Jul 2024 20:03:02 +0100 Subject: [PATCH] Add Issuer.KeyStore() method --- issuer.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/issuer.go b/issuer.go index 953f3b6..949b15d 100644 --- a/issuer.go +++ b/issuer.go @@ -48,3 +48,7 @@ func (i *Issuer) SignJwt(wrapped jwt.Claims) (string, error) { func (i *Issuer) PrivateKey() (*rsa.PrivateKey, error) { return i.keystore.GetPrivateKey(i.kid) } + +func (i *Issuer) KeyStore() *KeyStore { + return i.keystore +}