MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / EJBCA

Struct EJBCA

app/controlplane/pkg/ca/ejbca/ejbca.go:38–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36const CAName = "ejbCA"
37
38type EJBCA struct {
39 // Connection settings
40 // EJBCA installation. ie https://localhost/ejbca/
41 serverURL string
42 // client private key used for authentication
43 keyPath string
44 // client certificate used for authentication
45 certPath string
46 // root CA
47 rootCAPath string
48
49 // Entity Configuration settings
50 // https://docs.keyfactor.com/signserver/latest/tutorial-signserver-container-signing-with-cosign#id-(6.3latest)Tutorial-SignServerContainerSigningwithCosign-Step2-Issuesigningcertificate
51 certificateProfileName string
52 endEntityProfileName string
53 caName string
54}
55
56func New(serverURL, keyPath, certPath, rootCAPath, certProfileName, endEntityProfileName, caName string) (*EJBCA, error) {
57 if serverURL == "" || keyPath == "" || certPath == "" || certProfileName == "" || endEntityProfileName == "" || caName == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected