- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 187 for pems (0.03 seconds)
-
internal/config/certs.go
data = bytes.TrimSpace(data) // Parse all certs in the chain. current := data for len(current) > 0 { var pemBlock *pem.Block if pemBlock, current = pem.Decode(current); pemBlock == nil { return nil, ErrTLSUnexpectedData(nil).Msgf("Could not read PEM block from file %s", certFile) } var x509Cert *x509.Certificate if x509Cert, err = x509.ParseCertificate(pemBlock.Bytes); err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Aug 14 17:11:51 GMT 2024 - 3.8K bytes - Click Count (0) -
internal/event/target/nats_tls_contrib_test.go
}, Subject: "test", Secure: true, CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"), ClientCert: path.Join("testdata", "contrib", "certs", "nats_client_cert.pem"), ClientKey: path.Join("testdata", "contrib", "certs", "nats_client_key.pem"), } con, err := clientConfig.connectNats() if err != nil { t.Errorf("Could not connect to nats: %v", err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 22 22:12:26 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/event/target/testdata/contrib/nats_tls_client_cert.conf
port: 14226 net: localhost tls { cert_file: "./testdata/contrib/certs/nats_server_cert.pem" key_file: "./testdata/contrib/certs/nats_server_key.pem" ca_file: "./testdata/contrib/certs/root_ca_cert.pem" verify_and_map: true } authorization { ADMIN = { publish = ">" subscribe = ">" } users = [ {user: "CN=localhost,OU=Client,O=MinIO,C=CA", permissions: $ADMIN} ]Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 426 bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
writer = new DefaultModelWriter(); assembler = new DefaultInheritanceAssembler(); } private File getPom(String name) { return new File("src/test/resources/poms/inheritance/" + name + ".xml"); } private Model getModel(String name) throws IOException { return reader.read(getPom(name), null); } @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
assertTrue(duration < 5000, "Artifact computation should complete within 5 seconds for 100 POMs"); // Verify correctness assertNotNull(gavs, "Artifact set should not be null"); assertEquals(100, gavs.size(), "Should have computed GAVs for all 100 POMs"); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
utils/tests/models.go
package tests import ( "database/sql" "time" "gorm.io/gorm" ) // User has one `Account` (has one), many `Pets` (has many) and `Toys` (has many - polymorphic) // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table) // He speaks many languages (many to many) and has many friends (many to many - single-table) // His pet also has one Toy (has one - polymorphic)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 2.1K bytes - Click Count (0) -
internal/event/target/testdata/contrib/nats_tls.conf
port: 14225 net: localhost tls { cert_file: "./testdata/contrib/certs/nats_server_cert.pem" key_file: "./testdata/contrib/certs/nats_server_key.pem"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 163 bytes - Click Count (0) -
cmd/xl-storage_unix_test.go
// Attempt to create a volume to verify the permissions later. // MakeVol creates directory with 0777 perms. if err = disk.MakeVol(t.Context(), testCase.volName); err != nil { t.Fatalf("Creating a volume failed with %s expected to pass.", err) } // Attempt to create a file to verify the permissions later. // AppendFile creates file with 0666 perms.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/debugging/inspect/utils.go
package main import ( "crypto/rsa" "crypto/x509" "encoding/base64" "encoding/pem" "log" ) func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) { // Try PEM if block, _ := pem.Decode(priv); block != nil { return x509.ParsePKCS1PrivateKey(block.Bytes) } // Try base 64 dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv)))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Nov 02 20:36:38 GMT 2022 - 1.4K bytes - Click Count (0)