Class MitmConstants


  • public class MitmConstants
    extends java.lang.Object
    Default values for basic MITM properties.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_KEYSTORE_TYPE
      The default KeyStore type to use when creating KeyStores (e.g.
      static java.lang.String DEFAULT_MESSAGE_DIGEST
      The default message digest to use when signing certificates (CA or server).
    • Constructor Summary

      Constructors 
      Constructor Description
      MitmConstants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_MESSAGE_DIGEST

        public static final java.lang.String DEFAULT_MESSAGE_DIGEST
        The default message digest to use when signing certificates (CA or server). On 64-bit systems this is set to SHA512, on 32-bit systems this is SHA256. On 64-bit systems, SHA512 generally performs better than SHA256; see this question for details: http://crypto.stackexchange.com/questions/26336/sha512-faster-than-sha256. SHA384 is SHA512 with a smaller output size.
      • DEFAULT_KEYSTORE_TYPE

        public static final java.lang.String DEFAULT_KEYSTORE_TYPE
        The default KeyStore type to use when creating KeyStores (e.g. for impersonated server certificates). PKCS12 is widely supported.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MitmConstants

        public MitmConstants()