lib/tttls1.3/endpoint.rb
Method verified_certificate_verify?
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.verified_certificate_verify?(public_key:, signature_scheme:,
signature:, context:, hash:)
content = "\x20" * 64 + context + "\x00" + hash
# RSA signatures MUST use an RSASSA-PSS algorithm, regardless of whether
Method sign_certificate_verify
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.sign_certificate_verify(key:, signature_scheme:, context:, hash:)
content = "\x20" * 64 + context + "\x00" + hash
# RSA signatures MUST use an RSASSA-PSS algorithm, regardless of whether
# RSASSA-PKCS1-v1_5 algorithms appear in "signature_algorithms".
Method do_exporter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def do_exporter(secret, digest, label, context, key_length)
Method exporter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.exporter(label, context, key_length, exporter_secret, cipher_suite)