Class: KeeperSecretsManager::Dto::TransmissionKey
- Inherits:
-
Object
- Object
- KeeperSecretsManager::Dto::TransmissionKey
- Defined in:
- lib/keeper_secrets_manager/dto/payload.rb
Overview
Transmission key for encrypted communication
Instance Attribute Summary collapse
-
#encrypted_key ⇒ Object
Returns the value of attribute encrypted_key.
-
#key ⇒ Object
Returns the value of attribute key.
-
#public_key_id ⇒ Object
Returns the value of attribute public_key_id.
Instance Method Summary collapse
-
#initialize(public_key_id:, key:, encrypted_key:) ⇒ TransmissionKey
constructor
A new instance of TransmissionKey.
Constructor Details
#initialize(public_key_id:, key:, encrypted_key:) ⇒ TransmissionKey
Returns a new instance of TransmissionKey.
7 8 9 10 11 |
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 7 def initialize(public_key_id:, key:, encrypted_key:) @public_key_id = public_key_id @key = key @encrypted_key = encrypted_key end |
Instance Attribute Details
#encrypted_key ⇒ Object
Returns the value of attribute encrypted_key.
5 6 7 |
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 5 def encrypted_key @encrypted_key end |
#key ⇒ Object
Returns the value of attribute key.
5 6 7 |
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 5 def key @key end |
#public_key_id ⇒ Object
Returns the value of attribute public_key_id.
5 6 7 |
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 5 def public_key_id @public_key_id end |