Jan Dittberner
9f0916b14a
Move X.509 and Openpgp operations into custom packages. Implement more robust input reading. Do not convert []byte to string unnecessarily. Finish implementation of X.509 CRL creation.
16 lines
379 B
Go
16 lines
379 B
Go
package signer
|
|
|
|
import (
|
|
"git.cacert.org/cacert-gosigner/shared"
|
|
)
|
|
|
|
type CryptoSystem struct {
|
|
Name string
|
|
Roots map[shared.CryptoSystemRootId]interface{}
|
|
Profiles map[shared.CertificateProfileId]interface{}
|
|
DigestAlgorithms map[shared.MessageDigestAlgorithmId]interface{}
|
|
}
|
|
|
|
func (system CryptoSystem) String() string {
|
|
return system.Name
|
|
}
|