0
0
Fork 0

add description in each file what it does

This commit is contained in:
Gibheer 2015-02-04 22:07:47 +01:00
parent 5d47f05d87
commit d3e95c104e
5 changed files with 18 additions and 0 deletions

View File

@ -1,5 +1,7 @@
package main
// create a sign request needed for the final certificate
import (
"crypto"
"crypto/rand"

View File

@ -1,5 +1,7 @@
package main
// generate an ecdsa or rsa private key
import (
"crypto"
"crypto/elliptic"

View File

@ -1,5 +1,7 @@
package main
// create a public key from a private key
import (
"crypto/x509"
"encoding/pem"

10
sign_request.go Normal file
View File

@ -0,0 +1,10 @@
package main
import (
)
// sign a certificate request to create a new certificate
func sign_request() {
}

View File

@ -1,5 +1,7 @@
package main
// verify a signature generated with a private key
import (
"crypto/ecdsa"
"crypto/sha256"