Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,168 for signee (0.11 sec)

  1. security/pkg/pki/util/generate_cert_test.go

    	}
    	signingCert, signingKey, _, _ := keycert.GetAll()
    
    	// Then generates signee's key pairs.
    	rsaSigneeKey, err := rsa.GenerateKey(rand.Reader, 1024)
    	if err != nil {
    		t.Errorf("failed to generate signee key pair %v", err)
    	}
    	ecdsaSigneeKey, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Errorf("failed to generate signee key pair %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  2. pkg/registry/certificates/certificates/storage/metrics_test.go

    	metrics.CounterMetric
    
    	signer string
    	called bool
    }
    
    func (m *testCounterVecMetric) WithLabelValues(lv ...string) metrics.CounterMetric {
    	if len(lv) != 1 {
    		panic(lv)
    	}
    
    	if len(m.signer) != 0 {
    		panic("unexpected multiple WithLabelValues() calls")
    	}
    
    	signer := lv[0]
    
    	if len(signer) == 0 {
    		panic("invalid empty signer")
    	}
    
    	m.signer = signer
    	return m
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. pkg/controller/certificates/signer/signer.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package signer implements a CA signer that uses keys stored on local disk.
    package signer
    
    import (
    	"context"
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"time"
    
    	capi "k8s.io/api/certificates/v1"
    	capiv1beta1 "k8s.io/api/certificates/v1beta1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. pkg/test/csrctrl/signer/signer.go

    // limitations under the License.
    
    // Package signer implements a CA signer that uses keys stored on local disk.
    package signer
    
    import (
    	"bytes"
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"time"
    
    	capi "k8s.io/api/certificates/v1"
    
    	"istio.io/istio/pkg/test/csrctrl/authority"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    type Signer struct {
    	caProvider *caProvider
    	CertTTL    time.Duration
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 03 18:57:19 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/signal.go

    	shutdownHandler = make(chan os.Signal, 2)
    
    	ctx, cancel := context.WithCancel(context.Background())
    	signal.Notify(shutdownHandler, shutdownSignals...)
    	go func() {
    		<-shutdownHandler
    		cancel()
    		<-shutdownHandler
    		os.Exit(1) // second signal. Exit directly.
    	}()
    
    	return ctx
    }
    
    // RequestShutdown emulates a received event that is considered as shutdown signal (SIGTERM/SIGINT)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 06 14:30:27 UTC 2020
    - 2K bytes
    - Viewed (0)
  6. security/pkg/pki/ra/k8s_ra.go

    	}
    	for signers, caCertificate := range caCertificates {
    		signerList := strings.Split(signers, ",")
    		if len(signerList) == 0 {
    			continue
    		}
    		for _, signer := range signerList {
    			if signer == signerName {
    				return []byte(caCertificate), nil
    			}
    		}
    	}
    	return nil, fmt.Errorf("failed to find root cert for signer: %v in mesh config", signerName)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 14:34:38 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/mod/sumdb/note/note.go

    )
    
    // signer is a trivial Signer implementation.
    type signer struct {
    	name string
    	hash uint32
    	sign func([]byte) ([]byte, error)
    }
    
    func (s *signer) Name() string                    { return s.name }
    func (s *signer) KeyHash() uint32                 { return s.hash }
    func (s *signer) Sign(msg []byte) ([]byte, error) { return s.sign(msg) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  8. src/crypto/tls/key_agreement.go

    func hashForServerKeyExchange(sigType uint8, hashFunc crypto.Hash, version uint16, slices ...[]byte) []byte {
    	if sigType == signatureEd25519 {
    		var signed []byte
    		for _, slice := range slices {
    			signed = append(signed, slice...)
    		}
    		return signed
    	}
    	if version >= VersionTLS12 {
    		h := hashFunc.New()
    		for _, slice := range slices {
    			h.Write(slice)
    		}
    		digest := h.Sum(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. pkg/test/csrctrl/controllers/csr_controller.go

    	"istio.io/istio/pkg/test/csrctrl/signer"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    const RequestLifeTimeAnnotationForCertManager = "experimental.cert-manager.io/request-duration"
    
    type Signer struct {
    	csrs    kclient.Client[*certv1.CertificateSigningRequest]
    	signers map[string]*signer.Signer
    	queue   controllers.Queue
    }
    
    func NewSigner(cl kube.Client, signers map[string]*signer.Signer) *Signer {
    	c := &Signer{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 17:36:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir

    // RUN: tf-opt %s -tfl-prepare-quantize="quantize-signed=true" | FileCheck %s
    // RUN: tf-opt %s -tfl-prepare-quantize="quantize-signed=true disable-per-channel=true" | FileCheck --check-prefix=PerTensor %s
    
    // CHECK-LABEL: uint8_to_int8
    func.func @uint8_to_int8(%arg0: tensor<2x2xf32>) -> tensor<2x2xf32> {
      %1 = "tfl.quantize"(%arg0) {qtype = tensor<2x2x!quant.uniform<u8:f32, 1.0:128>>} : (tensor<2x2xf32>) -> tensor<2x2x!quant.uniform<u8:f32, 1.0:128>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top