You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -892,7 +893,7 @@ public EnterpriseInfo getEnterpriseInfo() throws EnterpriseInfoFailedException
892
893
}
893
894
894
895
/**
895
-
* @description Generates a new RSA Key pair used to encrypt keycodes. The private key as well as an identifier associating the public Key is returned to the user. The public key is uploaded and stored on the SendSafely servers.
896
+
* @description Generates a new RSA Key pair used to encrypt keycodes. The private key as well as an identifier associating the public Key is returned to the user. The public key is uploaded and stored on the SendSafely servers.
896
897
* @param description The description used for generating the key pair.
897
898
* @returnType Privatekey
898
899
* @return Returns a Private Key containing the armored private key and a Public Key ID associating a public key to the private key.
@@ -912,6 +913,14 @@ public Privatekey generateKeyPair(String description) throws NoSuchAlgorithmExce
912
913
returnprivateKey;
913
914
}
914
915
916
+
/**
917
+
* @description Downloads and decrypts a keycode from the server for a given packageId and RSA Key pair.
918
+
* @param packageId The package id for the keycode.
919
+
* @param privateKey The private key associated with the RSA Key pair used to encrypt the package keycode.
0 commit comments