enum class AnsiColor
ANSI color/graphics extension functions. |
|
enum class BuildInfo
Common build info attributes |
|
enum class JSSEProp
JSSE system properties for customization. |
|
enum class KeyStoreType
Java KeyStore types. |
|
object Platform
A platform is a unique combination of CPU architecture and operating system. This class attempts to determine the platform it is executing on by examining and normalizing the os.arch and os.name system properties. |
|
class SavingTrustManager : X509TrustManager
An X509TrustManager to save the server/client cert chains. |
typealias AnsiEsc = String |
val CACerts: String
Returns the file name of the default JDK CA trust store. |
|
val CACertsKeyStore: KeyStore
Returns the default JDK CA trust store. |
|
const val ESC: AnsiEsc
Escape unicode in hex. |
|
val ESC_END: AnsiEsc
0 is reset for all |
|
val FILE_SEP: String |
|
val LINE_SEP: String |
|
val PemCertPattern: Regex
PEM regex pattern for cert and private key (Header + Base64 Text + Footer) |
|
val PemKeyPattern: Regex |
|
val RAND: Random
Random number generator. |
|
const val SPACE: String
Common extension functions. |
|
val ip_regex: Regex
IPV4 regex pattern |
|
val isTTY: Boolean
Returns true if you are running in a terminal. |
fun esc(vararg codes: Int): AnsiEsc
Returns an ANSI escape unicode from a list of integers. |
|
fun exit(status: Int, msg: () -> String = null): Unit
Exits the system with msg |
|
fun getSSLContext(protocol: String = "Default", keyManagers: Array<out X509KeyManager>? = null, trustManagers: Array<out X509TrustManager>? = null, secureRandom: SecureRandom? = null): SSLContext
Returns a SSLContext instance for given protocol and X509 key and trust store managers. TrustManagers decide whether to allow connections and KeyManagers decide which key material to use. |
|
fun main(args: Array<String>): Unit |