IT. Expert System.

Android Reference

CipherSuite


org.apache.harmony.xnet.provider.jsse

Class CipherSuite



  • public class CipherSuite
    extends Object
    Represents Cipher Suite as defined in TLS 1.0 spec., A.5. The CipherSuite; C. CipherSuite definitions.
    See Also:
    TLS 1.0 spec.
    • Method Detail

      • getByName

        public static CipherSuite getByName(String name)
        Returns CipherSuite by name
      • getByCode

        public static CipherSuite getByCode(byte b1,
                            byte b2,
                            byte b3)
        Returns CipherSuite based on V2CipherSpec code as described in TLS 1.0 spec., E. Backward Compatibility With SSL
      • isAnonymous

        public boolean isAnonymous()
        Returns true if cipher suite is anonymous
        Returns:
      • getSupported

        public static CipherSuite[] getSupported()
        Returns array of supported CipherSuites
        Returns:
      • getSupportedCipherSuiteNames

        public static String[] getSupportedCipherSuiteNames()
        Returns array of supported cipher suites names
        Returns:
      • getName

        public String getName()
        Returns cipher suite name
        Returns:
      • toBytes

        public byte[] toBytes()
        Returns cipher suite code as byte array
        Returns:
      • toString

        public String toString()
        Returns cipher suite description
        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.
      • getBulkEncryptionAlgorithm

        public String getBulkEncryptionAlgorithm()
        Returns cipher algorithm name
        Returns:
      • getBlockSize

        public int getBlockSize()
        Returns cipher block size
        Returns:
      • getHmacName

        public String getHmacName()
        Returns MAC algorithm name
        Returns:
      • getHashName

        public String getHashName()
        Returns hash algorithm name
        Returns:
      • getMACLength

        public int getMACLength()
        Returns hash size
        Returns:
      • isExportable

        public boolean isExportable()
        Indicates whether this cipher suite is exportable
        Returns:
      • getServerKeyType

        public String getServerKeyType()
        Returns key type constant suitable for calling X509KeyManager.chooseServerAlias or X509ExtendedKeyManager.chooseEngineServerAlias.
      • getClientKeyType

        public static String getClientKeyType(byte keyType)
        Similar to getServerKeyType, but returns value given TLS ClientCertificateType byte values from a CertificateRequest message for use with X509KeyManager.chooseClientAlias or X509ExtendedKeyManager.chooseEngineClientAlias.
      • getAuthType

        public String getAuthType(boolean emphemeral)
        Returns auth type constant suitable for calling X509TrustManager.checkServerTrusted.


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: 15904 / 248376548. Delta: 0.02289 с