Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for ed25519 (0.23 sec)

  1. docs/sts/tls.md

            Signature Algorithm: ED25519
            Issuer: CN = consoleAdmin
            Validity
                Not Before: Jul 19 15:08:44 2021 GMT
                Not After : Aug 18 15:08:44 2021 GMT
            Subject: CN = consoleAdmin
            Subject Public Key Info:
                Public Key Algorithm: ED25519
                    ED25519 Public-Key:
                    pub:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/sumdb/note/note.go

    }
    
    // NewEd25519VerifierKey returns an encoded verifier key using the given name
    // and Ed25519 public key.
    func NewEd25519VerifierKey(name string, key ed25519.PublicKey) (string, error) {
    	if len(key) != ed25519.PublicKeySize {
    		return "", fmt.Errorf("invalid public key size %d, expected %d", len(key), ed25519.PublicKeySize)
    	}
    
    	pubkey := append([]byte{algEd25519}, key...)
    	hash := keyHash(name, pubkey)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. src/crypto/x509/x509.go

    			return errors.New("x509: ECDSA verification failure")
    		}
    		return
    	case ed25519.PublicKey:
    		if pubKeyAlgo != Ed25519 {
    			return signaturePublicKeyAlgoMismatchError(pubKeyAlgo, pub)
    		}
    		if !ed25519.Verify(pub, signed, signature) {
    			return errors.New("x509: Ed25519 verification failure")
    		}
    		return
    	}
    	return ErrUnsupportedAlgorithm
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  4. src/crypto/tls/tls.go

    			return fail(errors.New("tls: private key does not match public key"))
    		}
    	case ed25519.PublicKey:
    		priv, ok := cert.PrivateKey.(ed25519.PrivateKey)
    		if !ok {
    			return fail(errors.New("tls: private key type does not match public key type"))
    		}
    		if !bytes.Equal(priv.Public().(ed25519.PublicKey), pub) {
    			return fail(errors.New("tls: private key does not match public key"))
    		}
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/crypto/ed25519/ed25519vectors_test.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ed25519_test
    
    import (
    	"crypto/ed25519"
    	"encoding/hex"
    	"encoding/json"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"testing"
    )
    
    // TestEd25519Vectors runs a very large set of test vectors that exercise all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 14:52:51 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. plugin/pkg/admission/certificates/subjectrestriction/admission_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package subjectrestriction
    
    import (
    	"context"
    	"crypto/ed25519"
    	"crypto/rand"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/pem"
    	"testing"
    
    	certificatesv1beta1 "k8s.io/api/certificates/v1beta1"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 27 15:50:14 UTC 2020
    - 5K bytes
    - Viewed (0)
  7. src/crypto/x509/x509_test.go

    		t.Fatalf("Failed to parse: %s", err)
    	}
    
    	if cert.PublicKeyAlgorithm != Ed25519 {
    		t.Fatalf("Parsed key algorithm was not Ed25519")
    	}
    	parsedKey, ok := cert.PublicKey.(ed25519.PublicKey)
    	if !ok {
    		t.Fatalf("Parsed key was not an Ed25519 key: %s", err)
    	}
    	if len(parsedKey) != ed25519.PublicKeySize {
    		t.Fatalf("Invalid Ed25519 key")
    	}
    
    	if err = cert.CheckSignatureFrom(cert); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  8. src/crypto/tls/common_string.go

    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[CurveP256-23]
    	_ = x[CurveP384-24]
    	_ = x[CurveP521-25]
    	_ = x[X25519-29]
    	_ = x[x25519Kyber768Draft00-25497]
    }
    
    const (
    	_CurveID_name_0 = "CurveP256CurveP384CurveP521"
    	_CurveID_name_1 = "X25519"
    	_CurveID_name_2 = "X25519Kyber768Draft00"
    )
    
    var (
    	_CurveID_index_0 = [...]uint8{0, 9, 18, 27}
    )
    
    func (i CurveID) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. security/pkg/pki/util/crypto_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package util
    
    import (
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/ed25519"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    const (
    	csr = `
    -----BEGIN CERTIFICATE REQUEST-----
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. api/go1.15.txt

    pkg crypto/ecdsa, method (*PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/ecdsa, method (*PublicKey) Equal(crypto.PublicKey) bool
    pkg crypto/ed25519, method (PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/ed25519, method (PublicKey) Equal(crypto.PublicKey) bool
    pkg crypto/elliptic, func MarshalCompressed(Curve, *big.Int, *big.Int) []uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
Back to top