Class: OpenSSL::ASN1::BitString

Inherits:
Primitive show all
Defined in:
lib/openssl/asn1.rb

Instance Attribute Summary collapse

Attributes included from TaggedASN1Data

#tagging

Attributes inherited from ASN1Data

#indefinite_length, #tag, #tag_class, #value

Instance Method Summary collapse

Methods inherited from Primitive

#to_der

Methods inherited from ASN1Data

#to_der

Constructor Details

#initializeBitString

Returns a new instance of BitString.



162
163
164
165
166
# File 'lib/openssl/asn1.rb', line 162

def initialize(*)
  super

  @unused_bits = 0
end

Instance Attribute Details

#unused_bitsObject

Returns the value of attribute unused_bits.



160
161
162
# File 'lib/openssl/asn1.rb', line 160

def unused_bits
  @unused_bits
end