Class: Moxml::Signature::Model::Key::RSAKeyValue
- Inherits:
-
Object
- Object
- Moxml::Signature::Model::Key::RSAKeyValue
- Defined in:
- lib/moxml/signature/model/key/rsa_key_value.rb
Overview
ds:RSAKeyValue — base64-encoded CryptoBinary Modulus + Exponent.
Instance Attribute Summary collapse
-
#exponent ⇒ Object
Returns the value of attribute exponent.
-
#modulus ⇒ Object
Returns the value of attribute modulus.
Instance Method Summary collapse
-
#initialize(modulus:, exponent:) ⇒ RSAKeyValue
constructor
A new instance of RSAKeyValue.
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
#exponent ⇒ Object
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 |
#modulus ⇒ Object
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 |