Class SecureCredentialStore
java.lang.Object
ai.attackframework.tools.burp.utils.config.SecureCredentialStore
Stores OpenSearch credentials in memory for the current Burp session only.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordImmutable API key credentials pair read from session memory.static final recordImmutable basic credentials pair read from session memory.static final recordImmutable certificate credentials read from session memory.static final recordImmutable JWT token credentials read from session memory.static final recordImmutable imported TLS pin material read from session memory. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearAll()Clears all session-scoped auth values.static voidClears API key credentials for the current Burp session.static voidClears certificate credentials for the current Burp session.static voidClears JWT credentials for the current Burp session.static voidClears basic credentials for the current Burp session.static voidClears pinned TLS certificate material for the current Burp session.Loads API key credentials for the current Burp session.Loads certificate credentials for the current Burp session.Loads JWT credentials for the current Burp session.Loads basic credentials for the current Burp session.Loads pinned TLS certificate material for the current Burp session.static StringLoads selected auth type for the current Burp session.static voidsaveApiKeyCredentials(String keyId, String keySecret) Saves API key credentials for the current Burp session.static voidsaveCertificateCredentials(String certPath, String keyPath, String passphrase) Saves certificate credentials for the current Burp session.static voidsaveJwtCredentials(String token) Saves JWT credentials for the current Burp session.static voidsaveOpenSearchCredentials(String username, String password) Saves basic credentials for the current Burp session.static voidsavePinnedTlsCertificate(String sourcePath, String fingerprintSha256, byte[] encodedBytes) Saves pinned TLS certificate material for the current Burp session.static voidsaveSelectedAuthType(String authType) Saves selected auth type for the current Burp session.
-
Method Details
-
saveSelectedAuthType
Saves selected auth type for the current Burp session. -
loadSelectedAuthType
Loads selected auth type for the current Burp session. -
saveOpenSearchCredentials
Saves basic credentials for the current Burp session. Blank values clear stored credentials. -
loadOpenSearchCredentials
Loads basic credentials for the current Burp session. -
saveApiKeyCredentials
Saves API key credentials for the current Burp session. -
loadApiKeyCredentials
Loads API key credentials for the current Burp session. -
saveJwtCredentials
Saves JWT credentials for the current Burp session. -
loadJwtCredentials
Loads JWT credentials for the current Burp session. -
saveCertificateCredentials
Saves certificate credentials for the current Burp session. -
loadCertificateCredentials
Loads certificate credentials for the current Burp session. -
savePinnedTlsCertificate
public static void savePinnedTlsCertificate(String sourcePath, String fingerprintSha256, byte[] encodedBytes) Saves pinned TLS certificate material for the current Burp session. -
loadPinnedTlsCertificate
Loads pinned TLS certificate material for the current Burp session. -
clearOpenSearchCredentials
public static void clearOpenSearchCredentials()Clears basic credentials for the current Burp session. -
clearApiKeyCredentials
public static void clearApiKeyCredentials()Clears API key credentials for the current Burp session. -
clearJwtCredentials
public static void clearJwtCredentials()Clears JWT credentials for the current Burp session. -
clearCertificateCredentials
public static void clearCertificateCredentials()Clears certificate credentials for the current Burp session. -
clearPinnedTlsCertificate
public static void clearPinnedTlsCertificate()Clears pinned TLS certificate material for the current Burp session. -
clearAll
public static void clearAll()Clears all session-scoped auth values. Intended for tests and extension reload/reset paths.
-