methodTstCustomCipherComponent.DecryptStr
function DecryptStr(const aBuf: OctetString): OctetString;
One-shot convenience decrypt of an OctetString to a new OctetString result (not in place); the simplest way an application decrypts a small, already-in-memory ciphertext value. The result is empty when the ciphertext fails its tag or padding check, and when the padding cannot finish it - with bpmNone not a whole number of blocks, except in CFB, OFB and CTR, with bpmPKCS5, bpmZeroes, bpm10s and bpmSSL3 not a whole number of blocks or shorter than one, with bpmCTS shorter than one block - which the cipher is then not given, so that none of it is left for the next call. No client/server-specific meaning.