Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for UnknownPublicKeyAlgorithm (0.42 sec)

  1. src/crypto/x509/x509.go

    		if details.algo == algo {
    			return details.name
    		}
    	}
    	return strconv.Itoa(int(algo))
    }
    
    type PublicKeyAlgorithm int
    
    const (
    	UnknownPublicKeyAlgorithm PublicKeyAlgorithm = iota
    	RSA
    	DSA // Only supported for parsing.
    	ECDSA
    	Ed25519
    )
    
    var publicKeyAlgoName = [...]string{
    	RSA:     "RSA",
    	DSA:     "DSA",
    	ECDSA:   "ECDSA",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  2. src/crypto/x509/parser.go

    	var spk asn1.BitString
    	if !spki.ReadASN1BitString(&spk) {
    		return nil, errors.New("x509: malformed subjectPublicKey")
    	}
    	if cert.PublicKeyAlgorithm != UnknownPublicKeyAlgorithm {
    		cert.PublicKey, err = parsePublicKey(&publicKeyInfo{
    			Algorithm: pkAI,
    			PublicKey: spk,
    		})
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	if cert.Version > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  3. src/crypto/x509/x509_test.go

    			name: "invalid issuer, unsupported public key type",
    			issuer: &Certificate{
    				Version:               3,
    				BasicConstraintsValid: true,
    				IsCA:                  true,
    				PublicKeyAlgorithm:    UnknownPublicKeyAlgorithm,
    				PublicKey:             goodKey.Public(),
    			},
    			err: "x509: cannot verify signature: algorithm unimplemented",
    		},
    		{
    			name: "wrong key",
    			issuer: &Certificate{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"TooManyIntermediates", Const, 0},
    		{"UnconstrainedName", Const, 10},
    		{"UnhandledCriticalExtension", Type, 0},
    		{"UnknownAuthorityError", Type, 0},
    		{"UnknownAuthorityError.Cert", Field, 8},
    		{"UnknownPublicKeyAlgorithm", Const, 0},
    		{"UnknownSignatureAlgorithm", Const, 0},
    		{"VerifyOptions", Type, 0},
    		{"VerifyOptions.CurrentTime", Field, 0},
    		{"VerifyOptions.DNSName", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg crypto/x509, const SHA384WithRSA SignatureAlgorithm
    pkg crypto/x509, const SHA512WithRSA SignatureAlgorithm
    pkg crypto/x509, const TooManyIntermediates InvalidReason
    pkg crypto/x509, const UnknownPublicKeyAlgorithm PublicKeyAlgorithm
    pkg crypto/x509, const UnknownSignatureAlgorithm SignatureAlgorithm
    pkg crypto/x509, func CreateCertificate(io.Reader, *Certificate, *Certificate, interface{}, interface{}) ([]uint8, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg crypto/x509, const SHA256WithRSA = 4
    pkg crypto/x509, const SHA384WithRSA = 5
    pkg crypto/x509, const SHA512WithRSA = 6
    pkg crypto/x509, const TooManyIntermediates = 3
    pkg crypto/x509, const UnknownPublicKeyAlgorithm = 0
    pkg crypto/x509, const UnknownSignatureAlgorithm = 0
    pkg crypto/x509, func DecryptPEMBlock(*pem.Block, []uint8) ([]uint8, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top