Class: Net::SSH::Transport::HMAC::Abstract

Class | Net::SSH::Transport::HMAC::Abstract
In: | lib/net/ssh/transport/hmac/abstract.rb
Parent: | Object

The base class of all OpenSSL-based HMAC algorithm wrappers.

### Methods

digest digest_class digest_class key= key_length key_length mac_length mac_length new

### Attributes

key | [R] | The key in use for this instance.

### Public Class methods

digest_class(*v)
key_length(*v)
mac_length(*v)
new(key=nil)

### Public Instance methods

digest(data)

Compute the HMAC digest for the given data string.

digest_class()
key=(value)

Sets the key to the given value, truncating it so that it is the correct length.

key_length()
mac_length()

[Validate]