Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RSA (0.06 sec)

  1. cmd/test-utils_test.go

    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &k.PublicKey
    		case *ecdsa.PrivateKey:
    			return &k.PublicKey
    		default:
    			return nil
    		}
    	}
    
    	pemBlockForKey := func(priv interface{}) *pem.Block {
    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(k)}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    		"PK\x01\x02\x14\x00\x14\x00\b\b\b\x004\x9d3?\xbfP\x96b\x86\x04\x00\x00\xb2\x06\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa9J\x02\x00META-INF/CERT.RSA",
    	}
    	for i, s := range dirEnts {
    		var f File
    		err := readDirectoryHeader(&f, strings.NewReader(s))
    		if err != nil {
    			t.Errorf("error reading #%d: %v", i, err)
    		}
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    			expectedSSHKeyType: "ssh-ed25519",
    		},
    		{
    			username:           "liza",
    			dn:                 "uid=liza,ou=people,ou=swengg,dc=min,dc=io",
    			expectedSSHKeyType: "ssh-rsa",
    		},
    	}
    
    	conn, err := globalIAMSys.LDAPConfig.LDAP.Connect()
    	if err != nil {
    		c.Fatalf("LDAP connect failed: %v", err)
    	}
    	defer conn.Close()
    
    	for i, testCase := range cases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top