Module: HAP::EncryptionRequest
- Included in:
- Request
- Defined in:
- lib/hap_client/encryption_request.rb
Constant Summary collapse
- AAD_LENGTH_BYTES =
2
- AUTHENTICATE_TAG_LENGTH_BYTES =
16
Instance Attribute Summary collapse
-
#decryption_count ⇒ Object
readonly
Returns the value of attribute decryption_count.
-
#encryption_count ⇒ Object
readonly
Returns the value of attribute encryption_count.
Instance Method Summary collapse
Instance Attribute Details
#decryption_count ⇒ Object (readonly)
Returns the value of attribute decryption_count.
6 7 8 |
# File 'lib/hap_client/encryption_request.rb', line 6 def decryption_count @decryption_count end |
#encryption_count ⇒ Object (readonly)
Returns the value of attribute encryption_count.
6 7 8 |
# File 'lib/hap_client/encryption_request.rb', line 6 def encryption_count @encryption_count end |
Instance Method Details
#encryption_ready? ⇒ Boolean
8 9 10 |
# File 'lib/hap_client/encryption_request.rb', line 8 def encryption_ready?() return !@controller_to_accessory_key.nil? end |