Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGenCSR (0.12 sec)

  1. security/pkg/pki/util/generate_csr_test.go

    // limitations under the License.
    
    package util
    
    import (
    	"crypto/ecdsa"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/pem"
    	"errors"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    func TestGenCSR(t *testing.T) {
    	// Options to generate a CSR.
    	cases := map[string]struct {
    		csrOptions CertOptions
    		err        error
    	}{
    		"GenCSR with RSA": {
    			csrOptions: CertOptions{
    				Host:       "test_ca.com",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 25 09:40:13 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top