codes.draeger.replayguard.core.NonceCache.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of replay-guard-core Show documentation
Show all versions of replay-guard-core Show documentation
ReplayGuard is a security-focused library designed to enhance the security of communications between client applications and backend servers. This library addresses the critical need for secure data transmission, specifically targeting the vulnerabilities associated with replay attacks and unauthorized data interception.
The newest version!
package codes.draeger.replayguard.core
interface NonceCache {
/**
* @return true if the nonce was not present in the cache and was added, false otherwise
*/
fun put(nonce: String): Boolean
/**
* @return true if the nonce was present in the cache, false otherwise
*/
fun contains(nonce: String): Boolean
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy