mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-03 21:05:06 -04:00
19 lines
424 B
Go
19 lines
424 B
Go
package keys_and_cert
|
|
|
|
import "crypto"
|
|
|
|
// PrivateKeysAndCert contains a KeysAndCert along with the corresponding private keys for the
|
|
// Public Key and the Signing Public Key
|
|
type PrivateKeysAndCert struct {
|
|
KeysAndCert
|
|
PK_KEY crypto.PrivateKey
|
|
SPK_KEY crypto.PrivateKey
|
|
}
|
|
|
|
func NewPrivateKeysAndCert() (*PrivateKeysAndCert, error) {
|
|
var pkc PrivateKeysAndCert
|
|
var err error
|
|
// pkc.PK_KEY, err =
|
|
return &pkc, err
|
|
}
|