lib/tpm/key_attestation.rb in tpm-key_attestation-0.4.0 vs lib/tpm/key_attestation.rb in tpm-key_attestation-0.5.0

- old
+ new

@@ -18,16 +18,16 @@ @algorithm = algorithm @qualifying_data = qualifying_data end def key - if valid? + if certify_validator.valid?(signing_key) public_area.key end end def valid? - certify_validator.valid?(signing_key) + !!key end private def certify_validator