Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for keyUsages (0.56 sec)

  1. pkg/apis/certificates/validation/validation_test.go

    				Spec: capi.CertificateSigningRequestSpec{
    					Usages:     []capi.KeyUsage{"unknown", "unknown"},
    					Request:    newCSRPEM(t),
    					SignerName: validSignerName,
    				},
    			},
    			errs: field.ErrorList{
    				field.NotSupported(specPath.Child("usages").Index(0), capi.KeyUsage("unknown"), allValidUsages.List()),
    				field.NotSupported(specPath.Child("usages").Index(1), capi.KeyUsage("unknown"), allValidUsages.List()),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  2. src/crypto/x509/x509.go

    	case ecdh.P521():
    		return oidNamedCurveP521, true
    	}
    
    	return nil, false
    }
    
    // KeyUsage represents the set of actions that are valid for a given key. It's
    // a bitmap of the KeyUsage* constants.
    type KeyUsage int
    
    const (
    	KeyUsageDigitalSignature KeyUsage = 1 << iota
    	KeyUsageContentCommitment
    	KeyUsageKeyEncipherment
    	KeyUsageDataEncipherment
    	KeyUsageKeyAgreement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	}
    
    	template := x509.Certificate{
    		SerialNumber: serialNumber,
    		Subject: pkix.Name{
    			Organization: []string{"Acme Co"},
    		},
    		NotBefore: notBefore,
    		NotAfter:  notAfter,
    
    		KeyUsage:              x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature,
    		ExtKeyUsage:           []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
    		BasicConstraintsValid: true,
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/certificates/v1/generated.pb.go

    			}
    			postIndex := iNdEx + intStringLen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Usages = append(m.Usages, KeyUsage(dAtA[iNdEx:postIndex]))
    			iNdEx = postIndex
    		case 6:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Extra", wireType)
    			}
    			var msglen int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/certificates/v1beta1/generated.pb.go

    			}
    			postIndex := iNdEx + intStringLen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Usages = append(m.Usages, KeyUsage(dAtA[iNdEx:postIndex]))
    			iNdEx = postIndex
    		case 6:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Extra", wireType)
    			}
    			var msglen int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top