Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for verification (1.28 sec)

  1. src/crypto/tls/auth.go

    		}
    		if !ecdsa.VerifyASN1(pubKey, signed, sig) {
    			return errors.New("ECDSA verification failure")
    		}
    	case signatureEd25519:
    		pubKey, ok := pubkey.(ed25519.PublicKey)
    		if !ok {
    			return fmt.Errorf("expected an Ed25519 public key, got %T", pubkey)
    		}
    		if !ed25519.Verify(pubKey, signed, sig) {
    			return errors.New("Ed25519 verification failure")
    		}
    	case signaturePKCS1v15:
    		pubKey, ok := pubkey.(*rsa.PublicKey)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/instantiate.go

    //
    // If validate is set, Instantiate verifies that the number of type arguments
    // and parameters match, and that the type arguments satisfy their respective
    // type constraints. If verification fails, the resulting error may wrap an
    // *ArgumentError indicating which type argument did not satisfy its type parameter
    // constraint, and why.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/cache.go

    	// the seek position is not guaranteed to be in any particular state.
    	//
    	// As a special case, if the ReadSeeker is of type noVerifyReadSeeker,
    	// the verification from GODEBUG=goverifycache=1 is skipped.
    	//
    	// After a success call to Get, OutputFile(Entry.OutputID) must
    	// exist on disk for until Close is called (at the end of the process).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/crypto/rsa/rsa.go

    // ErrVerification represents a failure to verify a signature.
    // It is deliberately vague to avoid adaptive attacks.
    var ErrVerification = errors.New("crypto/rsa: verification error")
    
    // Precompute performs some calculations that speed up private key operations
    // in the future.
    func (priv *PrivateKey) Precompute() {
    	if priv.Precomputed.n == nil && len(priv.Primes) == 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. src/crypto/x509/verify.go

    	}
    	return msg
    }
    
    func (se SystemRootsError) Unwrap() error { return se.Err }
    
    // errNotParsed is returned when a certificate without ASN.1 contents is
    // verified. Platform-specific verification needs the ASN.1 contents.
    var errNotParsed = errors.New("x509: missing ASN.1 contents; use ParseCertificate")
    
    // VerifyOptions contains parameters for Certificate.Verify.
    type VerifyOptions struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client_tls13.go

    	c := hs.c
    
    	// finishedMsg is included in the transcript, but not until after we
    	// check the client version, since the state before this message was
    	// sent is used during verification.
    	msg, err := c.readHandshake(nil)
    	if err != nil {
    		return err
    	}
    
    	finished, ok := msg.(*finishedMsg)
    	if !ok {
    		c.sendAlert(alertUnexpectedMessage)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_server.go

    		return err
    	}
    
    	// finishedMsg is included in the transcript, but not until after we
    	// check the client version, since the state before this message was
    	// sent is used during verification.
    	msg, err := c.readHandshake(nil)
    	if err != nil {
    		return err
    	}
    	clientFinished, ok := msg.(*finishedMsg)
    	if !ok {
    		c.sendAlert(alertUnexpectedMessage)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/sumdb/note/note.go

    // A given server may have multiple public keys, each
    // identified by a 32-bit hash of the public key.
    //
    // # Verifying Notes
    //
    // A [Verifier] allows verification of signatures by one server public key.
    // It can report the name of the server and the uint32 hash of the key,
    // and it can verify a purported signature by that key.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client.go

    		return err
    	}
    
    	// finishedMsg is included in the transcript, but not until after we
    	// check the client version, since the state before this message was
    	// sent is used during verification.
    	msg, err := c.readHandshake(nil)
    	if err != nil {
    		return err
    	}
    	serverFinished, ok := msg.(*finishedMsg)
    	if !ok {
    		c.sendAlert(alertUnexpectedMessage)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
Back to top