interface ImportOptions {
    preferRSAOAEP?: boolean;
}

Properties

Properties

preferRSAOAEP?: boolean

Import RSA key as RSA-OAEP encryption key instead of RSA signing key.

ndn-cxx stores RSA signing key and RSA-OAEP encryption key in the same format. By default, RSA key is imported as RSASSA-PKCS1-v1_5 signing key. Set to true to import RSA key as RSA-OAEP encryption key instead.