Add Issuer.KeyStore() method

This commit is contained in:
Melon 2024-07-27 20:03:02 +01:00
parent 4e2c18918f
commit 7eaf420bb9
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -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
}