Parent

Class Index [+]

Quicksearch

Net::SSH::Transport::IdentityCipher

A cipher that does nothing but pass the data through, unchanged. This keeps things in the code nice and clean when a cipher has not yet been determined (i.e., during key exchange).

Public Class Methods

block_size() click to toggle source

A default block size of 8 is required by the SSH2 protocol.

    # File lib/net/ssh/transport/identity_cipher.rb, line 9
 9:       def block_size
10:         8
11:       end
decrypt() click to toggle source

Does nothing. Returns self.

    # File lib/net/ssh/transport/identity_cipher.rb, line 24
24:       def decrypt
25:         self
26:       end
encrypt() click to toggle source

Does nothing. Returns self.

    # File lib/net/ssh/transport/identity_cipher.rb, line 19
19:       def encrypt
20:         self
21:       end
final() click to toggle source

Returns the empty string.

    # File lib/net/ssh/transport/identity_cipher.rb, line 34
34:       def final
35:         ""
36:       end
iv=(v) click to toggle source

Does nothing. Returns nil.

    # File lib/net/ssh/transport/identity_cipher.rb, line 44
44:       def iv=(v)
45:         nil
46:       end
iv_len() click to toggle source

Returns an arbitrary integer.

    # File lib/net/ssh/transport/identity_cipher.rb, line 14
14:       def iv_len
15:         4
16:       end
name() click to toggle source

The name of this cipher, which is “identity”.

    # File lib/net/ssh/transport/identity_cipher.rb, line 39
39:       def name
40:         "identity"
41:       end
reset() click to toggle source

Does nothing. Returns self.

    # File lib/net/ssh/transport/identity_cipher.rb, line 49
49:       def reset
50:         self
51:       end
update(text) click to toggle source

Passes its single argument through unchanged.

    # File lib/net/ssh/transport/identity_cipher.rb, line 29
29:       def update(text)
30:         text
31:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.