Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for writeObject (0.27 sec)

  1. src/main/java/jcifs/spnego/NegTokenTarg.java

                if ( mechanismListMIC != null ) {
                    fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC)));
                }
                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

            try {
                ByteArrayOutputStream bos = new ByteArrayOutputStream();
                ASN1OutputStream dos = ASN1OutputStream.create(bos, ASN1Encoding.DER);
                dos.writeObject(new DERSequence(mechs));
                dos.close();
                return bos.toByteArray();
            }
            catch ( IOException e ) {
                throw new CIFSException("Failed to encode mechList", e);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenInit.java

                ASN1OutputStream der = ASN1OutputStream.create(collector, ASN1Encoding.DER);
                DERTaggedObject derApplicationSpecific = new DERTaggedObject(false, BERTags.APPLICATION, 0, new DERSequence(ev));
                der.writeObject(derApplicationSpecific);
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/SerializeUtil.java

            try {
                final ByteArrayOutputStream baos = new ByteArrayOutputStream(BYTE_ARRAY_SIZE);
                final ObjectOutputStream oos = new ObjectOutputStream(baos);
                try {
                    oos.writeObject(obj);
                } finally {
                    oos.close();
                }
                return baos.toByteArray();
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/ArrayMap.java

            }
    
            @Override
            public void writeExternal(final ObjectOutput s) throws IOException {
                s.writeInt(hashCode);
                s.writeObject(key);
                s.writeObject(value);
                s.writeObject(next);
            }
    
            @SuppressWarnings("unchecked")
            @Override
            public void readExternal(final ObjectInput s) throws IOException, ClassNotFoundException {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/core/collection/SLinkedList.java

        }
    
        @Override
        public void writeExternal(final ObjectOutput s) throws IOException {
            s.writeInt(size);
            for (Entry e = header.next; e != header; e = e.next) {
                s.writeObject(e.element);
            }
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public void readExternal(final ObjectInput s) throws IOException, ClassNotFoundException {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
Back to top