Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 250 for asSequence (0.07 seconds)

  1. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            authDataVector.add(new DERSequence(authElementVector));
            vector.add(new DERTaggedObject(10, new DERSequence(authDataVector)));
    
            DERSequence sequence = new DERSequence(vector);
            byte[] encoded = new DERTaggedObject(false, BERTags.APPLICATION, 1, sequence).getEncoded();
    
            KerberosEncData encData = new KerberosEncData(encoded, Collections.emptyMap());
    
            assertEquals("TEST.REALM", encData.getUserRealm());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        }
    
        @Test
        @DisplayName("byte[] ctor: top-level non-SEQUENCE triggers PACDecodingException (type mismatch)")
        void byteArrayConstructor_topLevelNotSequence_throws() throws Exception {
            // Arrange: Encoded INTEGER instead of SEQUENCE
            byte[] notASequence = new ASN1Integer(42).getEncoded();
    
            // Act + Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/ASN1Util.java

         * @param sequence the DLSequence
         * @param index the element index
         * @return sequence element cast to type
         * @throws PACDecodingException if types are incompatible
         */
        public static <T extends ASN1Primitive> T as(final Class<T> type, final DLSequence sequence, final int index)
                throws PACDecodingException {
            return as(type, sequence, index);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/spnego/NegTokenInit.java

                }
                ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                final Enumeration<ASN1Object> fields = sequence.getObjects();
                while (fields.hasMoreElements()) {
                    tagged = (ASN1TaggedObject) fields.nextElement();
                    switch (tagged.getTagNo()) {
                    case 0:
                        sequence = ASN1Sequence.getInstance(tagged, true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. fastapi/exceptions.py

        def __init__(
            self,
            errors: Sequence[Any],
            *,
            body: Any = None,
            endpoint_ctx: EndpointContext | None = None,
        ) -> None:
            super().__init__(errors, endpoint_ctx=endpoint_ctx)
            self.body = body
    
    
    class WebSocketRequestValidationError(ValidationException):
        def __init__(
            self,
            errors: Sequence[Any],
            *,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            int index = offset;
            update(data, index, SmbConstants.SIGNATURE_OFFSET);
            index += SmbConstants.SIGNATURE_OFFSET;
            final byte[] sequence = new byte[8];
            SMBUtil.writeInt4(msg.getSignSeq(), sequence, 0);
            update(sequence, 0, sequence.length);
            index += 8;
            if (msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX) {
                /*
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       * characters which constitute a machine-sensible address or routing information. Such a sequence
       * is referred to as the "heading." An STX character has the effect of terminating a heading.
       *
       * @since 8.0
       */
      public static final byte SOH = 1;
    
      /**
       * Start of Text: A communication control character which precedes a sequence of characters that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

       *
       * ```
       * Point ::= SEQUENCE {
       *   x [0] INTEGER OPTIONAL,
       *   y [1] INTEGER OPTIONAL
       * }
       * ```
       *
       * You may also specify a tag class like [DerHeader.TAG_CLASS_APPLICATION]. The default tag class
       * is [DerHeader.TAG_CLASS_CONTEXT_SPECIFIC].
       *
       * ```
       * Point ::= SEQUENCE {
       *   x [APPLICATION 0] INTEGER OPTIONAL,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            int index = offset;
            update(data, index, SmbConstants.SIGNATURE_OFFSET);
            index += SmbConstants.SIGNATURE_OFFSET;
            final byte[] sequence = new byte[8];
            ServerMessageBlock.writeInt4(response.signSeq, sequence, 0);
            update(sequence, 0, sequence.length);
            index += 8;
            if (response.command == ServerMessageBlock.SMB_COM_READ_ANDX) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        private
        fun someClassesInDefaultPackage(): Sequence<Path> {
            val directory = projectDir.resolve("classes-default")
    
            DEFAULT_EXCLUDES_FOR_TEST.forEachIndexed { i, pkg ->
                touchFile(directory.resolve("$pkg/Foo$i.class"))
            }
    
            return sequenceOf(directory)
        }
    
        private
        fun aJar(sourceFiles: Sequence<Path>): Sequence<Path> {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 25 08:50:34 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top