Class: RSA::OPEN::Private

Inherits:
Object
  • Object
show all
Defined in:
lib/rsa.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#dObject

Returns the value of attribute d.



15
16
17
# File 'lib/rsa.rb', line 15

def d
  @d
end

#nObject

Returns the value of attribute n.



15
16
17
# File 'lib/rsa.rb', line 15

def n
  @n
end

Class Method Details

.dObject



29
30
31
# File 'lib/rsa.rb', line 29

def self.d
  @d
end

.d=(d) ⇒ Object



21
22
23
# File 'lib/rsa.rb', line 21

def self.d=(d)
  @d=d
end

.nObject



25
26
27
# File 'lib/rsa.rb', line 25

def self.n
  @n
end

.n=(n) ⇒ Object



17
18
19
# File 'lib/rsa.rb', line 17

def self.n=(n)
  @n=n
end