Discuss this help topic in SecureBlackbox Forum

TElMessageDecryptor.IsConventionallyEncrypted

TElMessageDecryptor     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Checks whether a buffer contains PKCS7-encrypted data.

Declaration

[C#]
    static bool IsConventionallyEncrypted(byte[] Buffer);

[VB.NET]
    Shared Function IsConventionallyEncrypted(ByVal Buffer As Byte()) As Boolean

[Pascal]
    class function IsConventionallyEncrypted(Buffer : pointer; Size : integer) : boolean;

[C++]
    static bool IsConventionallyEncrypted(void * Buffer, int32_t Size);

[PHP]
    bool IsConventionallyEncrypted(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)

[Java]
    static boolean isConventionallyEncrypted(TElMessageDecryptor this, byte[] Buffer);

Parameters

  • Buffer - buffer containing encrypted data.
  • Size - number of bytes to be read from Buffer.

Return value

    Returns True if Buffer contains a conventional PKCS7-encrypted data.

Description

    Use this method to check whether a piece of data is conventionally encrypted according to PKCS#7 standard.

Discuss this help topic in SecureBlackbox Forum