MCPcopy Create free account
hub / github.com/LUX-Core/lux / DEREncodeOctetString

Function DEREncodeOctetString

src/cryptopp/asn.cpp:104–110  ·  view source on GitHub ↗

ASN Strings

Source from the content-addressed store, hash-verified

102
103/// ASN Strings
104size_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
112size_t DEREncodeOctetString(BufferedTransformation &bt, const SecByteBlock &str)
113{

Callers 3

integer.cppFile · 0.85
DEREncodePointMethod · 0.85
DEREncodePointMethod · 0.85

Calls 4

DERLengthEncodeFunction · 0.85
PutMethod · 0.45
beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected