Returns the length of key in complete bytes (octets) given the public or private key string.
Public Declare Function RSA_KeyBytes Lib "diCrPKI.dll"
(ByVal strKey As String) As Long
nRet = RSA_KeyBytes(strKey)
long __stdcall RSA_KeyBytes(const char *szKeyString);
returns the number of complete bytes (8-bit octets) in the key modulus or a negative error code.
Public Function rsaKeyBytes
(szKeyString As String) As Long
Rsa.KeyBytes Method (String)
Rsa.KeyBytes Method (StringBuilder)
static int dipki::Rsa::KeyBytes (const std::string &keyStr)
static Rsa.key_bytes(keystr)
Use this function to find out the required length of the encryption block for "raw" RSA encryption.
RSA_KeyBits RSA_RawPublic RSA_RawPrivate