Class: Binenc::Java::ASN1OID

Inherits:
Object
  • Object
show all
Includes:
ASN1Object
Defined in:
lib/binenc/asn1_engine/object/oid.rb

Instance Attribute Summary

Attributes included from ASN1Object

#value

Instance Method Summary collapse

Methods included from ASN1Object

decode, #initialize, #is_equal?

Methods included from DataConversion

#from_b64, #from_hex, included, #to_b64, #to_b64_mime, #to_bin, #to_hex, #to_java_bytes, #to_str

Instance Method Details

#encodedObject



9
10
11
# File 'lib/binenc/asn1_engine/object/oid.rb', line 9

def encoded
  org.bouncycastle.asn1.ASN1ObjectIdentifier.new(@value).encoded
end