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)
String containing the RSA private or public key string.
long _stdcall RSA_KeyBytes(const char *szRsaKey64);
Long: returns the number of complete bytes (8-bit octets) in the key modulus or a
negative error code.
Rsa.KeyBytes Method (String)
Rsa.KeyBytes Method (StringBuilder)
Use this function to find out the required length of the encryption block for "raw" RSA encryption.
RSA_KeyBits RSA_RawPublic RSA_RawPrivate