Pike v8.0 release 1738

Method Standards.ASN1.Decode.secure_der_decode()


Method secure_der_decode

.Types.Object secure_der_decode(string(8bit) data, mapping(int:program)|void types)

Description

Works just like simple_der_decode, except it will return 0 if there is trailing data in the provided ASN.1 data.

See also

simple_der_decode