aboutsummaryrefslogtreecommitdiff
path: root/rsa.go
diff options
context:
space:
mode:
Diffstat (limited to 'rsa.go')
-rw-r--r--rsa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa.go b/rsa.go
index 410b9f7..ac649b7 100644
--- a/rsa.go
+++ b/rsa.go
@@ -46,7 +46,7 @@ func (pr RsaPrivateKey) Sign(message []byte, hash crypto.Hash) ([]byte, error) {
}
// get the private key
-func (pr RsaPrivateKey) privateKey() crypto.PrivateKey {
+func (pr RsaPrivateKey) PrivateKey() crypto.PrivateKey {
return pr.private_key
}