private KeyAttributes getDefaultKeyAttributes() {
        KeyAttributes keyAttributes = new KeyAttributes();
        keyAttributes.setAlgorithm("RSA");
        keyAttributes.setMode("ECB");
        keyAttributes.setDigestAlgorithm("SHA-384");
//        keyAttributes.id;
        keyAttributes.setKeyLength(3072);
//        keyAttributes.name;
        keyAttributes.setPaddingMode("OAEPWithSHA-384AndMGF1Padding");
        keyAttributes.setRole("keyEncryption");
//        keyAttributes.transferPolicy;  // no transfer policy because this key is not transferable;  maybe this should be a urn with "private" at the end.
        return keyAttributes;
    }
private KeyAttributes getDefaultKeyAttributes() {
        KeyAttributes keyAttributes = new KeyAttributes();
        keyAttributes.setAlgorithm("RSA");
        keyAttributes.setMode("ECB");
        keyAttributes.setDigestAlgorithm("SHA-384");
        keyAttributes.setKeyLength(3072);
        keyAttributes.setPaddingMode("OAEPWithSHA-384AndMGF1Padding");
        keyAttributes.setRole("keyEncryption");
        return keyAttributes;
    }
private keyattributes getdefaultkeyattributes() { keyattributes keyattributes = new keyattributes(); keyattributes.setalgorithm("rsa"); keyattributes.setmode("ecb"); keyattributes.setdigestalgorithm("sha-384"); keyattributes.setkeylength(3072); keyattributes.setpaddingmode("oaepwithsha-384andmgf1padding"); keyattributes.setrole("keyencryption"); return keyattributes; }