Class SecurityParameters


  • public class SecurityParameters
    extends java.lang.Object
    Carrier class for general security parameters.
    • Constructor Detail

      • SecurityParameters

        public SecurityParameters()
    • Method Detail

      • isRenegotiating

        public boolean isRenegotiating()
      • isSecureRenegotiation

        public boolean isSecureRenegotiation()
      • getCipherSuite

        public int getCipherSuite()
        Returns:
        CipherSuite
      • getClientServerNames

        public java.util.Vector getClientServerNames()
      • getClientSigAlgs

        public java.util.Vector getClientSigAlgs()
      • getClientSigAlgsCert

        public java.util.Vector getClientSigAlgsCert()
      • getClientSupportedGroups

        public int[] getClientSupportedGroups()
      • getCompressionAlgorithm

        public short getCompressionAlgorithm()
        Returns:
        CompressionMethod
      • getMaxFragmentLength

        public short getMaxFragmentLength()
        Returns:
        MaxFragmentLength, or -1 if none
      • getPrfAlgorithm

        public int getPrfAlgorithm()
        Returns:
        PRFAlgorithm
      • getVerifyDataLength

        public int getVerifyDataLength()
      • getMasterSecret

        public TlsSecret getMasterSecret()
      • getClientRandom

        public byte[] getClientRandom()
      • getServerRandom

        public byte[] getServerRandom()
      • getSessionHash

        public byte[] getSessionHash()
      • getSessionID

        public byte[] getSessionID()
      • getPskIdentity

        public byte[] getPskIdentity()
        Deprecated.
      • getPSKIdentity

        public byte[] getPSKIdentity()
      • getSRPIdentity

        public byte[] getSRPIdentity()
      • getTLSServerEndPoint

        public byte[] getTLSServerEndPoint()
      • getTLSUnique

        public byte[] getTLSUnique()
      • isEncryptThenMAC

        public boolean isEncryptThenMAC()
      • isExtendedMasterSecret

        public boolean isExtendedMasterSecret()
      • isExtendedPadding

        public boolean isExtendedPadding()
      • isTruncatedHMac

        public boolean isTruncatedHMac()
      • getApplicationProtocol

        public ProtocolName getApplicationProtocol()
      • isApplicationProtocolSet

        public boolean isApplicationProtocolSet()
      • getLocalVerifyData

        public byte[] getLocalVerifyData()
      • getPeerVerifyData

        public byte[] getPeerVerifyData()
      • getKeyExchangeAlgorithm

        public int getKeyExchangeAlgorithm()
      • getLocalCertificate

        public Certificate getLocalCertificate()
      • getPeerCertificate

        public Certificate getPeerCertificate()