package node.crypto; typedef RSAKeyPairOptions = { /** Key size in bits **/ var modulusLength : Float; /** Public exponent **/ @:optional var publicExponent : Float; var publicKeyEncoding : { var type : String; var format : PubF; }; var privateKeyEncoding : BasePrivateKeyEncodingOptions & { var type : String; }; };