struct Cipher

Defined in:

8_insecure_socket_layer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cipher_type : CipherType, extra_info : UInt8 = 0) #

[View source]

Instance Method Detail

def cipher_type : CipherType #

def clone #

[View source]
def copy_with(cipher_type _cipher_type = @cipher_type, extra_info _extra_info = @extra_info) #

[View source]
def extra_info : UInt8 #

def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]