class RSA::ACC::PoKE2Proof

Attributes

q[R]
r[R]
z[R]

Public Class Methods

new(z, q, r) click to toggle source
# File lib/rsa/acc/poke2.rb, line 12
def initialize(z, q, r)
  @z = z
  @q = q
  @r = r
end

Public Instance Methods

==(other) click to toggle source

Check whether same proof. @param [RSA::ACC::PoKE2Proof] other other proof. @return [Boolean] whether same proof.

# File lib/rsa/acc/poke2.rb, line 21
def ==(other)
  return false unless other.is_a?(RSA::ACC::PoKE2Proof)
  z == other.z && q == other.q && r == other.r
end