- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 86 for notBefore (0.2 sec)
-
security/pkg/pki/util/keycertbundle_test.go
func TestExtractRootCertExpiryTimestamp(t *testing.T) { t0 := time.Now() cert, key, err := GenCertKeyFromOptions(CertOptions{ Host: "citadel.testing.istio.io", NotBefore: t0, TTL: time.Minute, Org: "MyOrg", IsCA: true, IsSelfSigned: true, IsServer: true, RSAKeySize: 2048, }) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Jan 21 06:07:50 UTC 2024 - 15.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist_test.go
ClusterConfiguration: kubeadmapi.ClusterConfiguration{ EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmECDSAP256, }, }, expectedConfig: &pkiutil.CertConfig{ Config: certutil.Config{ NotBefore: now.Add(-backdate), }, EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmECDSAP256, }, }, { name: "cert validity is set", cert: &KubeadmCert{ CAName: "some-ca",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 8.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
security/pkg/util/certutil.go
// Note: multiply time.Duration(int64) by an int (gracePeriodPercentage) will cause overflow (e.g., // when duration is time.Hour * 90000). So float64 is used instead. gracePeriod := time.Duration(float64(cert.NotAfter.Sub(cert.NotBefore)) * (float64(cu.gracePeriodPercentage) / 100)) // waitTime is the duration between now and the grace period starts. // It is the time until cert expiration minus the length of grace period. waitTime := timeToExpire - gracePeriod
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 30 19:33:26 UTC 2023 - 2.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
val type: String, val value: Any?, ) internal data class Validity( val notBefore: Long, val notAfter: Long, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + notBefore.toInt() result = 31 * result + notAfter.toInt() return result } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/util.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 21 07:29:30 UTC 2022 - 2.1K bytes - Viewed (0) -
pkg/test/csrctrl/authority/authority.go
URIs: cr.URIs, PublicKeyAlgorithm: cr.PublicKeyAlgorithm, PublicKey: cr.PublicKey, Extensions: cr.Extensions, ExtraExtensions: cr.ExtraExtensions, NotBefore: nbf, } if err := policy.apply(tmpl); err != nil { return nil, err } if !tmpl.NotAfter.Before(ca.Certificate.NotAfter) { tmpl.NotAfter = ca.Certificate.NotAfter }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 28 18:22:37 UTC 2021 - 3K bytes - Viewed (0) -
security/pkg/util/certutil_test.go
// See the License for the specific language governing permissions and // limitations under the License. package util import ( "os" "testing" "time" ) const ( // This cert has: // NotBefore = 2017-08-23 19:00:40 +0000 UTC // NotAfter = 2017-08-24 19:00:40 +0000 UTC testCertFile = "testdata/cert-util.pem" ) func TestGetWaitTime(t *testing.T) { testCert, err := os.ReadFile(testCertFile)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 30 19:33:26 UTC 2023 - 3.1K bytes - Viewed (0) -
internal/config/certsinfo.go
printName(cert.Issuer.Names, &buf) // Validity information buf.WriteString(color.Blue("%4sValidity\n", "")) buf.WriteString(color.Bold(fmt.Sprintf("%8sNot Before: %s\n", "", cert.NotBefore.Format(http.TimeFormat)))) buf.WriteString(color.Bold(fmt.Sprintf("%8sNot After : %s\n", "", cert.NotAfter.Format(http.TimeFormat)))) return buf.String()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 3.1K bytes - Viewed (0) -
src/crypto/x509/boring_test.go
if i := strings.Index(org, "_"); i >= 0 { org = org[:i] parentOrg = name[i+1:] } tmpl := &Certificate{ SerialNumber: big.NewInt(1), Subject: pkix.Name{ Organization: []string{org}, }, NotBefore: time.Unix(0, 0), NotAfter: time.Unix(0, 0), KeyUsage: KeyUsageKeyEncipherment | KeyUsageDigitalSignature, ExtKeyUsage: []ExtKeyUsage{ExtKeyUsageServerAuth, ExtKeyUsageClientAuth},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 17:38:47 UTC 2022 - 3.7K bytes - Viewed (0)