mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Merge pull request #258 from vanitasvitae/xep373refs
Update references to XEP-0373
This commit is contained in:
commit
101a0dbc38
4 changed files with 9 additions and 13 deletions
|
@ -22,9 +22,8 @@ public interface AskForBackupCodeCallback {
|
||||||
* This callback is used to ask the user to provide a backup code.
|
* This callback is used to ask the user to provide a backup code.
|
||||||
* The backup code must follow the format described in XEP-0373 §5.3
|
* The backup code must follow the format described in XEP-0373 §5.3
|
||||||
*
|
*
|
||||||
* TODO: Update reflink
|
* @see <a href="https://xmpp.org/extensions/xep-0373.html#backup-encryption">
|
||||||
* @see <a href="https://xmpp.org/extensions/xep-0373.html#sect-idm139662753819792">
|
* XEP-0373 §5.4 Encrypting the Secret Key Backup</a>
|
||||||
* XEP-0373 §5.3 about the format of the backup code</a>
|
|
||||||
*
|
*
|
||||||
* @return backup code provided by the user.
|
* @return backup code provided by the user.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -23,9 +23,8 @@ public interface DisplayBackupCodeCallback {
|
||||||
* The client can then go ahead and display the code to the user.
|
* The client can then go ahead and display the code to the user.
|
||||||
* The backup code follows the format described in XEP-0373 §5.3
|
* The backup code follows the format described in XEP-0373 §5.3
|
||||||
*
|
*
|
||||||
* TODO: Update reflink
|
* @see <a href="https://xmpp.org/extensions/xep-0373.html#backup-encryption">
|
||||||
* @see <a href="https://xmpp.org/extensions/xep-0373.html#sect-idm139662753819792">
|
* XEP-0373 §5.4 Encrypting the Secret Key Backup</a>
|
||||||
* XEP-0373 §5.3 about the format of the backup code</a>
|
|
||||||
*
|
*
|
||||||
* @param backupCode backup code
|
* @param backupCode backup code
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,8 +25,7 @@ import org.jivesoftware.smack.util.XmlStringBuilder;
|
||||||
/**
|
/**
|
||||||
* This class represents a secretkey element which contains a users OpenPGP secret key.
|
* This class represents a secretkey element which contains a users OpenPGP secret key.
|
||||||
*
|
*
|
||||||
* TODO: Update reflink
|
* @see <a href="https://xmpp.org/extensions/xep-0373.html#client-receives-secret-response">
|
||||||
* @see <a href="https://xmpp.org/extensions/xep-0373.html#sect-idm46443026813600">
|
|
||||||
* XEP-0373: §5.2.2 PEP Service Success Response</a>
|
* XEP-0373: §5.2.2 PEP Service Success Response</a>
|
||||||
*/
|
*/
|
||||||
public class SecretkeyElement implements ExtensionElement {
|
public class SecretkeyElement implements ExtensionElement {
|
||||||
|
|
|
@ -45,8 +45,8 @@ public class SecretKeyBackupHelper {
|
||||||
* Generate a secure backup code.
|
* Generate a secure backup code.
|
||||||
* This code can be used to encrypt a secret key backup and follows the form described in XEP-0373 §5.3.
|
* This code can be used to encrypt a secret key backup and follows the form described in XEP-0373 §5.3.
|
||||||
*
|
*
|
||||||
* TODO: Update reflink
|
* @see <a href="https://xmpp.org/extensions/xep-0373.html#backup-encryption">
|
||||||
* @see <a href="https://xmpp.org/extensions/xep-0373.html#sect-idm140425111347232">XEP-0373 §5.3</a>
|
* XEP-0373 §5.4 Encrypting the Secret Key Backup</a>
|
||||||
*
|
*
|
||||||
* @return backup code
|
* @return backup code
|
||||||
*/
|
*/
|
||||||
|
@ -112,9 +112,8 @@ public class SecretKeyBackupHelper {
|
||||||
* Create a {@link SecretkeyElement} which contains the secret keys which are serialized in {@code keys} and is
|
* Create a {@link SecretkeyElement} which contains the secret keys which are serialized in {@code keys} and is
|
||||||
* symmetrically encrypted using the {@code backupCode}.
|
* symmetrically encrypted using the {@code backupCode}.
|
||||||
*
|
*
|
||||||
* TODO: Update reflink
|
* @see <a href="https://xmpp.org/extensions/xep-0373.html#backup-encryption">
|
||||||
* @see <a href="https://xmpp.org/extensions/xep-0373.html#sect-idm45948286262768">
|
* XEP-0373 §5.4 Encrypting the Secret Key Backup</a>
|
||||||
* XEP-0373 about secret key backup requirements</a>
|
|
||||||
*
|
*
|
||||||
* @param keys serialized OpenPGP secret keys in transferable key format
|
* @param keys serialized OpenPGP secret keys in transferable key format
|
||||||
* @param backupCode passphrase for symmetric encryption
|
* @param backupCode passphrase for symmetric encryption
|
||||||
|
|
Loading…
Reference in a new issue