init import

This commit is contained in:
Олег Бородин
2026-05-24 11:02:51 +02:00
commit 25365aef77
154 changed files with 21501 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
/*
* Copyright 2026 Oleg Borodin <onborodin@gmail.com>
*/
package auxx509
import (
"fmt"
"testing"
"github.com/stretchr/testify/require"
)
func TestCert(t *testing.T) {
caCert, caKey, err := CreateSelfSignedCert("test1")
require.NoError(t, err)
fmt.Println(string(caCert))
fmt.Println(string(caKey))
}