aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2015-02-20 20:44:22 +0100
committerGibheer <gibheer@gmail.com>2015-02-20 20:44:22 +0100
commit2954be520de58f9760d378fb87be92b448666401 (patch)
tree29cbef37c74ca7ffbaa0d81800d8645210685e96
parent075865c417c387783d37a6705d66034f2fd9ff4a (diff)
add comments to flag variables
-rw-r--r--flags.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/flags.go b/flags.go
index c825b57..f67657e 100644
--- a/flags.go
+++ b/flags.go
@@ -48,17 +48,21 @@ type (
privateKeyPath string // path to the private key
publicKeyPath string // path to the public key
signRequestPath string // path to the certificate sign request
- certificateFlags *certFlagsContainer // container for certificate related flags
+ certificateFlags certFlagsContainer // container for certificate related flags
signature string // a base64 encoded signature
}
// a container for the refined flags
flagSet struct {
+ // loaded private key
PrivateKey pki.PrivateKey
+ // loaded public key
PublicKey pki.PublicKey
- Output io.WriteCloser
+ // the IO handler for input
Input io.ReadCloser
- // an asn1 encoded signature of a signage process
+ // the IO handler for output
+ Output io.WriteCloser
+ // signature from the args
Signature []byte
// private key specific stuff