IT. Expert System.

Android Reference

SSLEngineResult


javax.net.ssl

Class SSLEngineResult



  • public class SSLEngineResult
    extends Object
    The result object describing the state of the SSLEngine produced by the wrap() and unwrap() operations.
    • Constructor Detail

      • SSLEngineResult

        public SSLEngineResult(SSLEngineResult.Status status,
                       SSLEngineResult.HandshakeStatus handshakeStatus,
                       int bytesConsumed,
                       int bytesProduced)
        Creates a new SSLEngineResult instance with the specified state values.
        Parameters:
        status - the return value of the SSLEngine operation.
        handshakeStatus - the status of the current handshake
        bytesConsumed - the number of bytes retrieved from the source buffer(s).
        bytesProduced - the number of bytes transferred to the destination buffer(s).
        Throws:
        IllegalArgumentException - if status or handshakeStatus is null, or if bytesConsumed or bytesProduces are negative.
    • Method Detail

      • getStatus

        public final SSLEngineResult.Status getStatus()
        Returns the return value of the SSLEngine operation.
        Returns:
        the return value of the SSLEngine operation.
      • getHandshakeStatus

        public final SSLEngineResult.HandshakeStatus getHandshakeStatus()
        Returns the status of the current handshake.
        Returns:
        the status of the current handshake.
      • bytesConsumed

        public final int bytesConsumed()
        Returns the number of bytes retrieved from the source buffer(s).
        Returns:
        the number of bytes retrieved from the source buffer(s).
      • bytesProduced

        public final int bytesProduced()
        Returns the number of bytes transferred to the destination buffer(s).
        Returns:
        the number of bytes transferred to the destination buffer(s).
      • toString

        public String toString()
        Description copied from class: Object
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2209 / . Delta: 0.04306 с