Class: Moxml::Signature::Model::Key::RSAKeyValue

Inherits:
Object
  • Object
show all
Defined in:
lib/moxml/signature/model/key/rsa_key_value.rb

Overview

ds:RSAKeyValue — base64-encoded CryptoBinary Modulus + Exponent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(modulus:, exponent:) ⇒ RSAKeyValue

Returns a new instance of RSAKeyValue.



11
12
13
14
# File 'lib/moxml/signature/model/key/rsa_key_value.rb', line 11

def initialize(modulus:, exponent:)
  @modulus = modulus
  @exponent = exponent
end

Instance Attribute Details

#exponentObject

Returns the value of attribute exponent.



9
10
11
# File 'lib/moxml/signature/model/key/rsa_key_value.rb', line 9

def exponent
  @exponent
end

#modulusObject

Returns the value of attribute modulus.



9
10
11
# File 'lib/moxml/signature/model/key/rsa_key_value.rb', line 9

def modulus
  @modulus
end