This commit is contained in:
parent
60e3d8b873
commit
0a294da37e
|
|
@ -7,10 +7,8 @@ import (
|
|||
"crypto/sha256"
|
||||
"crypto/x509"
|
||||
"encoding/base64"
|
||||
"encoding/json"
|
||||
"encoding/pem"
|
||||
"math/big"
|
||||
"time"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
@ -47,4 +45,3 @@ func ExportPublicKeyPEM() string {
|
|||
pubKeyBytes, _ := x509.MarshalPKIXPublicKey(&privateKey.PublicKey)
|
||||
return string(pem.EncodeToMemory(&pem.Block{Type: "PUBLIC KEY", Bytes: pubKeyBytes}))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue