All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.vault.transit.DecryptionRequest Maven / Gradle / Ivy

There is a newer version: 3.0.0.Beta1
Show newest version
package io.quarkus.vault.transit;

import java.util.List;

import io.quarkus.vault.VaultTransitSecretEngine;

/**
 * A request to decrypt a ciphertext, with an optional transit context.
 * 
 * @see VaultTransitSecretEngine#decrypt(String, List)
 */
public class DecryptionRequest extends VaultTransitBatchItem {

    private String ciphertext;

    public DecryptionRequest(String ciphertext) {
        this(ciphertext, null);
    }

    public DecryptionRequest(String ciphertext, TransitContext transitContext) {
        super(transitContext);
        this.ciphertext = ciphertext;
    }

    public String getCiphertext() {
        return ciphertext;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy