Class: Xommelier::DSIG11::ECPointType

Inherits:
Xommelier::DS::CryptoBinary show all
Defined in:
lib/xommelier/dsig11.rb

Class Method Summary collapse

Methods inherited from Xommelier::DS::CryptoBinary

#inspect, #raw, #to_xommelier

Methods inherited from String

#to_xommelier

Class Method Details

.from_xommelier(value) ⇒ Object



19
20
21
22
23
24
25
26
27
# File 'lib/xommelier/dsig11.rb', line 19

def self.from_xommelier(value)
  return unless value
  case value
  when DS::CryptoBinary
    new(value.raw)
  else
    new(DS::CryptoBinary.from_xommelier(value))
  end
end