Package burp.api.montoya.collaborator
Interface SecretKey
-
public interface SecretKeyThis interface represents a secret key that is associated with aCollaboratorClient
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static SecretKeysecretKey(java.lang.String encodedKey)This method allows you to create an instance ofSecretKeywhich you will be able to use to restore a previously createdCollaboratorClientwith theCollaborator.restoreClient(SecretKey)method.java.lang.StringtoString()This provides the secret key in string form.
-
-
-
Method Detail
-
secretKey
static SecretKey secretKey(java.lang.String encodedKey)
This method allows you to create an instance ofSecretKeywhich you will be able to use to restore a previously createdCollaboratorClientwith theCollaborator.restoreClient(SecretKey)method.- Parameters:
encodedKey- The base64 encoded raw secret key.- Returns:
- An instance of
SecretKeywrapping the provided secret key.
-
toString
java.lang.String toString()
This provides the secret key in string form.- Overrides:
toStringin classjava.lang.Object- Returns:
- The base64 encoded secret key.
-
-