Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for generateCert (0.65 sec)

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

    // limitations under the License.
    
    // Provides utility methods to generate X.509 certificates with different
    // options. This implementation is Largely inspired from
    // https://golang.org/src/crypto/tls/generate_cert.go.
    
    package util
    
    import (
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"errors"
    	"fmt"
    	"os"
    	"strings"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    			_, err = spdyTransport.Dial(req)
    			assert.EqualError(t, err, "dial tcp 127.0.0.1:1233: operation was canceled")
    		})
    	}
    }
    
    // exampleCert was generated from crypto/tls/generate_cert.go with the following command:
    //
    //	go run generate_cert.go  --rsa-bits 2048 --host example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h
    var exampleCert = []byte(`-----BEGIN CERTIFICATE-----
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  3. security/pkg/pki/util/keycertbundle.go

    // limitations under the License.
    
    // Provides utility methods to generate X.509 certificates with different
    // options. This implementation is Largely inspired from
    // https://golang.org/src/crypto/tls/generate_cert.go.
    
    package util
    
    import (
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/rsa"
    	"crypto/tls"
    	"crypto/x509"
    	"errors"
    	"fmt"
    	"os"
    	"sync"
    	"time"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. Makefile.core.mk

    DIRS_TO_CLEAN := $(TARGET_OUT)
    DIRS_TO_CLEAN += $(TARGET_OUT_LINUX)
    
    $(OUTPUT_DIRS):
    	@mkdir -p $@
    
    .PHONY: ${GEN_CERT}
    GEN_CERT := ${ISTIO_BIN}/generate_cert
    ${GEN_CERT}:
    	GOOS=$(GOOS_LOCAL) && GOARCH=$(GOARCH_LOCAL) && common/scripts/gobuild.sh $@ ./security/tools/generate_cert
    
    #-----------------------------------------------------------------------------
    # Target: precommit
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 19:53:04 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go

    				t.Errorf("Expected location header to be %v, got %v", test.expectedHeader, res.Header)
    			}
    		}()
    	}
    }
    
    // exampleCert was generated from crypto/tls/generate_cert.go with the following command:
    //
    //	go run generate_cert.go  --rsa-bits 1024 --host example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h
    var exampleCert = []byte(`-----BEGIN CERTIFICATE-----
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 39.4K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	globalEventNotifier.InitBucketTargets(ctx, objLayer)
    
    	return testServer
    }
    
    // testServerCertPEM and testServerKeyPEM are generated by
    //  https://golang.org/src/crypto/tls/generate_cert.go
    //    $ go run generate_cert.go -ca --host 127.0.0.1
    // The generated certificate contains IP SAN, that way we don't need
    // to enable InsecureSkipVerify in TLS config
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @Generates
      static <E> ImmutableCollection<E> generateImmutableCollection(E freshElement) {
        return generateImmutableList(freshElement);
      }
    
      @Generates
      static <E> Set<E> generateSet(@Nullable E freshElement) {
        return generateHashSet(freshElement);
      }
    
      @Generates
      static <E> HashSet<E> generateHashSet(@Nullable E freshElement) {
        return generateLinkedHashSet(freshElement);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @Generates
      static <E> ImmutableCollection<E> generateImmutableCollection(E freshElement) {
        return generateImmutableList(freshElement);
      }
    
      @Generates
      static <E> Set<E> generateSet(@Nullable E freshElement) {
        return generateHashSet(freshElement);
      }
    
      @Generates
      static <E> HashSet<E> generateHashSet(@Nullable E freshElement) {
        return generateLinkedHashSet(freshElement);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. src/net/smtp/smtp_test.go

    	to := []string{"******@****.***"}
    	return SendMail(hostPort, nil, from, to, []byte("Subject: test\n\nhowdy!"))
    }
    
    // localhostCert is a PEM-encoded TLS cert generated from src/crypto/tls:
    //
    //	go run generate_cert.go --rsa-bits 1024 --host 127.0.0.1,::1,example.com \
    //		--ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h
    var localhostCert = []byte(`
    -----BEGIN CERTIFICATE-----
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top