cacert-gosigner/signer/crypto_system.go
Jan Dittberner 9f0916b14a Refactor code structure
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.
2021-01-05 19:59:43 +01:00

17 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
}