Documentation ¶
Index ¶
- type KeyFetcher
- type SignerInterceptor
- func (s *SignerInterceptor) Algorithm() jwa.SignatureAlgorithm
- func (s *SignerInterceptor) CreateInterceptor(alg jwa.SignatureAlgorithm, cryptoprovider cryptoCore.CryptoProvider, ...)
- func (s *SignerInterceptor) CreateSignerInterceptor() (jws.Signer, error)
- func (s *SignerInterceptor) CreateVerifyInterceptor() (jws.Verifier, error)
- func (s *SignerInterceptor) Sign(payload []byte, keyif interface{}) ([]byte, error)
- func (s *SignerInterceptor) Verify(payload []byte, signature []byte, keyif interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyFetcher ¶
type SignerInterceptor ¶
type SignerInterceptor struct {
// contains filtered or unexported fields
}
func (*SignerInterceptor) Algorithm ¶
func (s *SignerInterceptor) Algorithm() jwa.SignatureAlgorithm
func (*SignerInterceptor) CreateInterceptor ¶
func (s *SignerInterceptor) CreateInterceptor( alg jwa.SignatureAlgorithm, cryptoprovider cryptoCore.CryptoProvider, sign bool, verify bool)
func (*SignerInterceptor) CreateSignerInterceptor ¶
func (s *SignerInterceptor) CreateSignerInterceptor() (jws.Signer, error)
func (*SignerInterceptor) CreateVerifyInterceptor ¶
func (s *SignerInterceptor) CreateVerifyInterceptor() (jws.Verifier, error)
Click to show internal directories.
Click to hide internal directories.