Skip to content

Commit b8c6c58

Browse files
author
murilobsd
committed
update interface
1 parent 7a480e3 commit b8c6c58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docsdocs/crypto/generate.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ type Encrypter interface {
3333
ExportPublic(io.Writer) error
3434
GetPrivate() *rsa.PrivateKey
3535
GetPublic() *rsa.PublicKey
36-
// ReadPrivate() (*rsa.PrivateKey, error)
37-
// ReadPublic() (*rsa.PublicKey, error)
36+
// ReadPrivateFile(r io.Reader) (*rsa.PrivateKey, error)
37+
// ReadPublicFile(r io.Reader) (*rsa.PublicKey, error)
3838
}
3939

4040
// DocsCrypto This is struct to manager crypto files

0 commit comments

Comments
 (0)