Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SignatureValue (0.24 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

        // Invalid signature.
        val okHttpCertificateWithBadSignature =
          okHttpCertificate.copy(
            signatureValue =
              okHttpCertificate.signatureValue.copy(
                byteString = okHttpCertificate.signatureValue.byteString.offByOneBit(),
              ),
          )
        assertThat(okHttpCertificateWithBadSignature.checkSignature(root.keyPair.public)).isFalse()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

    import okio.ByteString
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    internal data class Certificate(
      val tbsCertificate: TbsCertificate,
      val signatureAlgorithm: AlgorithmIdentifier,
      val signatureValue: BitString,
    ) {
      val commonName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
            .firstOrNull { it.type == ObjectIdentifiers.COMMON_NAME }
            ?.value
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            listOf(
              it.tbsCertificate,
              it.signatureAlgorithm,
              it.signatureValue,
            )
          },
          construct = {
            Certificate(
              tbsCertificate = it[0] as TbsCertificate,
              signatureAlgorithm = it[1] as AlgorithmIdentifier,
              signatureValue = it[2] as BitString,
            )
          },
        )
    
      /**
       * ```
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/crypto/x509/x509.go

    	return ret, nil
    }
    
    // These structures reflect the ASN.1 structure of X.509 certificates.:
    
    type certificate struct {
    	TBSCertificate     tbsCertificate
    	SignatureAlgorithm pkix.AlgorithmIdentifier
    	SignatureValue     asn1.BitString
    }
    
    type tbsCertificate struct {
    	Raw                asn1.RawContent
    	Version            int `asn1:"optional,explicit,default:0,tag:0"`
    	SerialNumber       *big.Int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  5. src/crypto/x509/pkix/pkix.go

    // signature.
    //
    // Deprecated: x509.RevocationList should be used instead.
    type CertificateList struct {
    	TBSCertList        TBSCertificateList
    	SignatureAlgorithm AlgorithmIdentifier
    	SignatureValue     asn1.BitString
    }
    
    // HasExpired reports whether certList should have been updated by now.
    func (certList *CertificateList) HasExpired(now time.Time) bool {
    	return !now.Before(certList.TBSCertList.NextUpdate)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

            }
    
          // Complete signed certificate.
          val certificate =
            Certificate(
              tbsCertificate = tbsCertificate,
              signatureAlgorithm = signatureAlgorithm,
              signatureValue =
                BitString(
                  byteString = signature,
                  unusedBitsCount = 0,
                ),
            )
    
          return HeldCertificate(subjectKeyPair, certificate.toX509Certificate())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. src/encoding/asn1/asn1_test.go

    			t.Errorf("InvalidUnmarshalError mismatch\nGot:  %q\nWant: %q", g, w)
    		}
    	}
    }
    
    type Certificate struct {
    	TBSCertificate     TBSCertificate
    	SignatureAlgorithm AlgorithmIdentifier
    	SignatureValue     BitString
    }
    
    type TBSCertificate struct {
    	Version            int `asn1:"optional,explicit,default:0,tag:0"`
    	SerialNumber       RawValue
    	SignatureAlgorithm AlgorithmIdentifier
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"AttributeTypeAndValueSET.Type", Field, 3},
    		{"AttributeTypeAndValueSET.Value", Field, 3},
    		{"CertificateList", Type, 0},
    		{"CertificateList.SignatureAlgorithm", Field, 0},
    		{"CertificateList.SignatureValue", Field, 0},
    		{"CertificateList.TBSCertList", Field, 0},
    		{"Extension", Type, 0},
    		{"Extension.Critical", Field, 0},
    		{"Extension.Id", Field, 0},
    		{"Extension.Value", Field, 0},
    		{"Name", Type, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg crypto/x509/pkix, type CertificateList struct
    pkg crypto/x509/pkix, type CertificateList struct, SignatureAlgorithm AlgorithmIdentifier
    pkg crypto/x509/pkix, type CertificateList struct, SignatureValue asn1.BitString
    pkg crypto/x509/pkix, type CertificateList struct, TBSCertList TBSCertificateList
    pkg crypto/x509/pkix, type Extension struct
    pkg crypto/x509/pkix, type Extension struct, Critical bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top