public abstract class UnifiedKmsPasswordListener extends Object implements com.pkware.archive.zip.KMSPasswordListener
KMSPasswordListener
Since the introduction of KMS into the SecureZIP SDK the KMSPasswordListener
requires you to
overwrite two methods. Typically, PasswordListener.getPassword(com.pkware.archive.Archive, com.pkware.archive.ArchiveEntry, int, int)
just forwards.
This does that for you.
Constructor and Description |
---|
UnifiedKmsPasswordListener() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getPassword(com.pkware.archive.Archive unused1,
com.pkware.archive.ArchiveEntry unused2,
int unused3,
int retry) |
@Nullable public byte[] getPassword(com.pkware.archive.Archive unused1, com.pkware.archive.ArchiveEntry unused2, int unused3, int retry) throws com.pkware.archive.ArchiveException
getPassword
in interface com.pkware.archive.PasswordListener
com.pkware.archive.ArchiveException