OpenSSL::ASN1.decode(der) รข ASN1Data
Class Public methods
Decodes a BER- or DER-encoded value and creates an ASN1Data instance. der
may be a
String
or any object that features a #to_der
method transforming it into a BER-/DER-encoded String
.
Example
der = File.binread('asn1data') asn1 = OpenSSL::ASN1.decode(der)
Please login to continue.