Class: Tanker::PrehashedAndEncryptedPassphraseVerification

Inherits:
Verification
  • Object
show all
Defined in:
lib/tanker/core/verification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(prehashed_and_encrypted_passphrase) ⇒ PrehashedAndEncryptedPassphraseVerification

Returns a new instance of PrehashedAndEncryptedPassphraseVerification.



146
147
148
149
150
151
152
# File 'lib/tanker/core/verification.rb', line 146

def initialize(prehashed_and_encrypted_passphrase)
  super()

  ASSERT_UTF8.call(prehashed_and_encrypted_passphrase)

  @prehashed_and_encrypted_passphrase = prehashed_and_encrypted_passphrase
end

Instance Attribute Details

#prehashed_and_encrypted_passphraseObject (readonly)

Returns the value of attribute prehashed_and_encrypted_passphrase.



144
145
146
# File 'lib/tanker/core/verification.rb', line 144

def prehashed_and_encrypted_passphrase
  @prehashed_and_encrypted_passphrase
end