ASN Strings
| 102 | |
| 103 | /// ASN Strings |
| 104 | size_t DEREncodeOctetString(BufferedTransformation &bt, const byte *str, size_t strLen) |
| 105 | { |
| 106 | bt.Put(OCTET_STRING); |
| 107 | size_t lengthBytes = DERLengthEncode(bt, strLen); |
| 108 | bt.Put(str, strLen); |
| 109 | return 1+lengthBytes+strLen; |
| 110 | } |
| 111 | |
| 112 | size_t DEREncodeOctetString(BufferedTransformation &bt, const SecByteBlock &str) |
| 113 | { |
no test coverage detected