Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for sha1 (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

          var sha1: ByteString? = null
          var sha256: ByteString? = null
    
          for (pin in pins) {
            when (pin.hashAlgorithm) {
              "sha256" -> {
                if (sha256 == null) sha256 = peerCertificate.sha256Hash()
                if (pin.hash == sha256) return // Success!
              }
              "sha1" -> {
                if (sha1 == null) sha1 = peerCertificate.sha1Hash()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  2. cmd/sftp-server.go

    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=85
    var supportedMACs = []string{
    	"hmac-sha2******@****.***", "hmac-sha2******@****.***", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha1", "hmac-sha1-96",
    }
    
    func (s *sftpLogger) Error(tag xsftp.LogType, err error) {
    	switch tag {
    	case xsftp.AcceptNetworkError:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package hash
    
    import (
    	"bytes"
    	"context"
    	"crypto/sha1"
    	"encoding/base64"
    	"encoding/binary"
    	"fmt"
    	"hash"
    	"hash/crc32"
    	"net/http"
    	"strings"
    
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/signature-v2.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"crypto/hmac"
    	"crypto/sha1"
    	"crypto/subtle"
    	"encoding/base64"
    	"fmt"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    
    	xhttp "github.com/minio/minio/internal/http"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.addExpectedContent("path.sha1", "2a25dc564a3b34f68237fc849066cbc7bb7a36a1");
            wagonManager.getArtifact(artifact, repo, null, false);
    
            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "upper-case-checksum");
            wagon.addExpectedContent("path.sha1", "B7BB97D7D0B9244398D9B47296907F73313663E6");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

        }
      }
    
      @Test
      fun malformedBase64() {
        val builder = CertificatePinner.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.add("example.com", "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw*")
        }
      }
    
      /** Multiple certificates generated from the same keypair have the same pin.  */
      @Test
      fun sameKeypairSamePin() {
        val heldCertificateA2 =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

      /** Certificate pinning used and not a match will avoid coalescing and try to connect.  */
      @Test
      fun skipsWhenCertificatePinningFails() {
        val pinner =
          CertificatePinner.Builder()
            .add("san.com", "sha1/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=")
            .build()
        client = client.newBuilder().certificatePinner(pinner).build()
        server.enqueue(MockResponse())
        assert200Http2Response(execute(url), server.hostName)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. internal/config/identity/plugin/config.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package plugin
    
    import (
    	"bytes"
    	"context"
    	"crypto/sha1"
    	"encoding/base64"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"regexp"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/config"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  9. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

            defaultSettings.put("onelogin.saml2.security.want_xml_validation", "true");
            defaultSettings.put("onelogin.saml2.security.signature_algorithm", "http://www.w3.org/2000/09/xmldsig#rsa-sha1");
            defaultSettings.put("onelogin.saml2.organization.name", "CodeLibs");
            defaultSettings.put("onelogin.saml2.organization.displayname", "Fess");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  10. .cm/plugins/filters/byCodeowner/ignore/index.js

            () => '[^/]'
        ],
    
        // leading slash
        [
    
            // > A leading slash matches the beginning of the pathname.
            // > For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c".
            // A leading slash matches the beginning of the pathname
            /^\//,
            () => '^'
        ],
    
        // replace special metacharacter slash after the leading slash
        [
            /\//g,
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top