to_der

asn1.to_der => DER-encoded String Instance Public methods Encodes this ASN1Data into a DER-encoded String value. The result is DER-encoded except for the possibility of infinite length encodings. Infinite length encodings are not allowed in strict DER, so strictly speaking the result of such an encoding would be a BER-encoding.

new

OpenSSL::ASN1::Primitive.new( value [, tag, tagging, tag_class ]) => Primitive Class Public methods value: is mandatory. tag: optional, may be specified for tagged values. If no tag is specified, the UNIVERSAL tag corresponding to the Primitive sub-class is used by default. tagging: may be used as an encoding hint to encode a value either explicitly or implicitly, see ASN1 for possible values. tag_class: if tag and tagging are nil then this is set to :UNIVERSAL by default. If e

each

asn1_ary.each { |asn1| block } => asn1_ary Instance Public methods Calls block once for each element in self, passing that element as parameter asn1. If no block is given, an enumerator is returned instead. Example asn1_ary.each do |asn1| puts asn1 end

to_der

asn1.to_der => DER-encoded String Instance Public methods See OpenSSL::ASN1::ASN1Data#to_der for details.

register

register(p1, p2, p3) Class Public methods

ln

ln() Instance Public methods Also aliased as: long_name

long_name

long_name() Instance Public methods Alias for: ln

oid

oid() Instance Public methods

short_name

short_name() Instance Public methods Alias for: sn

sn

sn() Instance Public methods Also aliased as: short_name