method

to_der

v1_9_3_125 - Show latest stable - Class: OpenSSL::ASN1::ASN1Data
to_der()
public

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.