Fix unimplemented funcs in rsa3072

This commit is contained in:
eyedeekay
2025-04-03 15:53:17 -04:00
parent 1d1568de71
commit e7e26ae021

View File

@ -17,12 +17,12 @@ type (
// Len implements types.SigningPrivateKey.
func (r *RSA3072PrivateKey) Len() int {
panic("unimplemented")
return len(r)
}
// NewSigner implements types.SigningPrivateKey.
func (r *RSA3072PrivateKey) NewSigner() (types.Signer, error) {
panic("unimplemented")
return r, nil
}
// Sign implements types.Signer - signs data with SHA512 hash