| 91 | } |
| 92 | |
| 93 | void BERDecodeNull(BufferedTransformation &in) |
| 94 | { |
| 95 | byte b; |
| 96 | if (!in.Get(b) || b != TAG_NULL) |
| 97 | BERDecodeError(); |
| 98 | size_t length; |
| 99 | if (!BERLengthDecode(in, length) || length != 0) |
| 100 | BERDecodeError(); |
| 101 | } |
| 102 | |
| 103 | /// ASN Strings |
| 104 | size_t DEREncodeOctetString(BufferedTransformation &bt, const byte *str, size_t strLen) |
no test coverage detected