2021-01-04 20:39:35 +01:00
|
|
|
package signer
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.cacert.org/cacert-gosigner/shared"
|
|
|
|
)
|
|
|
|
|
|
|
|
type CryptoSystem struct {
|
|
|
|
Name string
|
2021-01-09 11:24:40 +01:00
|
|
|
Roots map[shared.CryptoSystemRootID]interface{}
|
|
|
|
Profiles map[shared.CertificateProfileID]interface{}
|
|
|
|
DigestAlgorithms map[shared.SignatureAlgorithmID]interface{}
|
2021-01-04 20:39:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (system CryptoSystem) String() string {
|
|
|
|
return system.Name
|
|
|
|
}
|