Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 412 for rsa_ (3.92 sec)

  1. src/crypto/tls/testdata/Server-TLSv13-RSA-RSAPSS

    Filippo Valsorda <******@****.***> 1684936196 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:14:50 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. src/crypto/tls/testdata/Server-TLSv10-RSA-AES

    Filippo Valsorda <******@****.***> 1684886145 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/crypto/tls/testdata/Server-TLSv11-RSA-RC4

    Filippo Valsorda <******@****.***> 1684886145 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. security/pkg/pki/util/crypto_test.go

    			pem:    certRSA,
    			errMsg: "unsupported PEM block type for a private key: CERTIFICATE",
    		},
    		"Parse RSA key": {
    			pem:     keyRSA,
    			keyType: reflect.TypeOf(&rsa.PrivateKey{}),
    		},
    		"Parse invalid RSA key": {
    			pem:    keyInvalidRSA,
    			errMsg: "failed to parse the RSA private key",
    		},
    		"Parse ECDSA key": {
    			pem:     keyECDSA,
    			keyType: reflect.TypeOf(&ecdsa.PrivateKey{}),
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. tests/integration/security/fuzz/fuzzers/jwt_tool/jwtconf.ini

    [crypto]
    # The sample RSA public and private keys are used to generate different tokens for testing. They can be simply generated
    # with the command `make -f tools/certs/Makefile.selfsigned.mk sample-RSA`.
    pubkey = sample-RSA-public.pem
    privkey = sample-RSA-private.pem
    jwks =
    
    [services]
    jwt_tool_version = 2.2.3
    # To disable the proxy option set this value to: False (no quotes)
    proxy = False
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 21 20:06:01 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/pkiutil/testing/testing.go

    		return pkiutil.GeneratePrivateKey(keyType)
    	}
    
    	if thisTest != lastTest {
    		rsa = 0
    		ecdsa = 0
    		lastTest = thisTest
    	}
    
    	keyName := ""
    	switch keyType {
    	case kubeadmapi.EncryptionAlgorithmECDSAP256:
    		ecdsa++
    		keyName = fmt.Sprintf("%d.ecdsa", ecdsa)
    	default:
    		rsa++
    		keyName = fmt.Sprintf("%d.rsa", rsa)
    	}
    
    	if len(keyName) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/crypto/rsa/example_test.go

    package rsa_test
    
    import (
    	"crypto"
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/sha256"
    	"encoding/hex"
    	"fmt"
    	"os"
    )
    
    // RSA is able to encrypt only a very limited amount of data. In order
    // to encrypt reasonable amounts of data a hybrid scheme is commonly
    // used: RSA is used to encrypt a key for a symmetric primitive like
    // AES-GCM.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:52:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. src/syscall/route_darwin.go

    		if m.Header.Addrs&(1<<i) == 0 {
    			continue
    		}
    		rsa := (*RawSockaddr)(unsafe.Pointer(&b[0]))
    		switch rsa.Family {
    		case AF_LINK:
    			sa, err := parseSockaddrLink(b)
    			if err != nil {
    				return nil, err
    			}
    			sas[i] = sa
    			b = b[rsaAlignOf(int(rsa.Len)):]
    		case AF_INET, AF_INET6:
    			sa, err := parseSockaddrInet(b, rsa.Family)
    			if err != nil {
    				return nil, err
    			}
    			sas[i] = sa
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 15 20:55:56 UTC 2016
    - 2K bytes
    - Viewed (0)
  9. src/syscall/syscall_bsd.go

    	// reported upstream.
    	if runtime.GOOS == "dragonfly" && rsa.Addr.Family == AF_UNSPEC && rsa.Addr.Len == 0 {
    		rsa.Addr.Family = AF_UNIX
    		rsa.Addr.Len = SizeofSockaddrUnix
    	}
    	return anyToSockaddr(&rsa)
    }
    
    //sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
    
    func GetsockoptByte(fd, level, opt int) (value byte, err error) {
    	var n byte
    	vallen := _Socklen(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. src/crypto/tls/generate_cert.go

    	}
    
    	// ECDSA, ED25519 and RSA subject keys should have the DigitalSignature
    	// KeyUsage bits set in the x509.Certificate template
    	keyUsage := x509.KeyUsageDigitalSignature
    	// Only RSA subject keys should have the KeyEncipherment KeyUsage bits set. In
    	// the context of TLS this KeyUsage is particular to RSA key exchange and
    	// authentication.
    	if _, isRSA := priv.(*rsa.PrivateKey); isRSA {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 15:22:02 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top