- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for BitString (0.07 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 3L, codec = object : BasicDerAdapter.Codec<BitString> { override fun decode(reader: DerReader): BitString = reader.readBitString() override fun encode( writer: DerWriter, value: BitString, ) = writer.writeBitString(value) }, ) val OCTET_STRING = BasicDerAdapter(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
AlgorithmIdentifier( algorithm = RSA_ENCRYPTION, parameters = null, ), subjectPublicKey = BitString( byteString = publicKeyBytes, unusedBitsCount = 0, ), ), issuerUniqueID = null, subjectUniqueID = null,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
subject = (it[5] as Pair<*, *>).second as List<List<AttributeTypeAndValue>>, subjectPublicKeyInfo = it[6] as SubjectPublicKeyInfo, issuerUniqueID = it[7] as BitString?, subjectUniqueID = it[8] as BitString?, extensions = it[9] as List<Extension>, ) }, ) /** * ``` * Certificate ::= SEQUENCE { * tbsCertificate TBSCertificate,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
.isEqualTo(bytes) } @Test fun `bit string`() { val bytes = "0304066e5dc0".decodeHex() val bitString = BitString("6e5dc0".decodeHex(), 6) assertThat(Adapters.BIT_STRING.fromDer(bytes)).isEqualTo(bitString) assertThat(Adapters.BIT_STRING.toDer(bitString)).isEqualTo(bytes) } @Test fun `cannot decode empty bit string`() { val bytes = "0300".decodeHex()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
while (byteCount < limit) { result = result shl 8 result += source.readByte().toInt() and 0xff } return result } fun readBitString(): BitString { if (bytesLeft == -1L || constructed) { throw ProtocolException("constructed bit strings not supported for DER") } if (bytesLeft < 1) { throw ProtocolException("malformed bit string") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
import okhttp3.internal.canParseAsIpAddress import okhttp3.tls.internal.der.AlgorithmIdentifier import okhttp3.tls.internal.der.AttributeTypeAndValue import okhttp3.tls.internal.der.BasicConstraints import okhttp3.tls.internal.der.BitString import okhttp3.tls.internal.der.Certificate import okhttp3.tls.internal.der.CertificateAdapters import okhttp3.tls.internal.der.CertificateAdapters.generalNameDnsName
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0) -
internal/s3select/sql/parser.go
// Translate doubled quotes *ls = LiteralList(strings.Split(r, ",")) return nil } // ObjectKey is a type for parsed strings occurring in key paths type ObjectKey struct { Lit *LiteralString `parser:" \"[\" @LitString \"]\""` ID *Identifier `parser:"| \".\" @@"` } // QuotedIdentifier is a type for parsed strings that are double // quoted. type QuotedIdentifier string // Capture interface used by participle
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.9K bytes - Viewed (0)