| stream | Byte stream with X509 certificate to be parsed |
| len | Length of the certificate in the byte-stream |
| obj_id | 3-byte OBJECT_IDENTIFIER to be searched for |
| buf | Buffer where to copy the found object value |
| buf_len | Size of the buffer pointed to by "buf" |
| crop_kind | If size of the found object is bigger than "buf" buffer, the only part of the object is copied to "buf". LT_ASN1DER_CROP_SUFFIX - Crop Suffix , copy to "buf" from 0 to "buf_len" - 1 LT_ASN1DER_CROP_PREFIX - Crop Prefix, copy to "buf" from N - buf_len to N - 1 where N is length of the object being sampled. |