- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ParsePublicCertFile (0.08 sec)
-
internal/config/certs_test.go
{tempFile1, 0, true}, {tempFile2, 0, true}, {tempFile3, 0, true}, {tempFile4, 1, false}, {tempFile5, 2, false}, } for _, testCase := range testCases { certs, err := ParsePublicCertFile(testCase.certFile) if !testCase.expectedErr && err != nil { t.Fatalf("error: expected = <nil>, got = %v", err) } if testCase.expectedErr && err == nil { t.Fatal("error: expected err, got = <nil>")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 21.6K bytes - Viewed (0) -
cmd/common-main.go
if !(isFile(getPublicCertFile()) && isFile(getPrivateKeyFile())) { return nil, nil, false, nil } if x509Certs, err = config.ParsePublicCertFile(getPublicCertFile()); err != nil { return nil, nil, false, err } manager, err = certs.NewManager(GlobalContext, getPublicCertFile(), getPrivateKeyFile(), config.LoadX509KeyPair) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0)