aboutsummaryrefslogtreecommitdiff
path: root/rsa.go
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2015-02-18 21:36:32 +0100
committerGibheer <gibheer@gmail.com>2015-02-18 21:36:32 +0100
commit67f850c9fbd4186b41113240a5a545676dbbf0b7 (patch)
treef56f5cdcad4f594f73d838693a4286459c3ab9d0 /rsa.go
parent53327f7467343588549d8f38b66012b5e868c9db (diff)
add pem label for rsa
Diffstat (limited to 'rsa.go')
-rw-r--r--rsa.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rsa.go b/rsa.go
index 69e0a16..df8c8cb 100644
--- a/rsa.go
+++ b/rsa.go
@@ -8,6 +8,10 @@ import (
"errors"
)
+const (
+ PemLabelRsa = "RSA PRIVATE KEY"
+)
+
type (
RsaPrivateKey struct {
private_key *rsa.PrivateKey