/** * The length of encrypted data determines the minimum length. In StreamrClient we use RSA * for encrypting 32 byte GroupKeys. In Node environment 585 bits is enough, but in * browser environment we need 640. * https://en.wikipedia.org/wiki/Optimal_asymmetric_encryption_padding */ export declare const MIN_KEY_LENGTH = 640; export declare class RSAKeyPair { private readonly privateKey; private readonly publicKey; private constructor(); getPublicKey(): string; getPrivateKey(): string; static create(keyLength: number): Promise; private static create_serverEnvironment; private static create_browserEnvironment; }