public class VaultSignatureVerificationRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VaultSignatureVerificationRequest.VaultSignatureVerificationRequestBuilder
Builder to build a
VaultSignatureVerificationRequest . |
Modifier and Type | Method and Description |
---|---|
static VaultSignatureVerificationRequest.VaultSignatureVerificationRequestBuilder |
builder() |
static VaultSignatureVerificationRequest |
create(Plaintext plaintext,
Hmac hmac)
|
static VaultSignatureVerificationRequest |
create(Plaintext plaintext,
Signature signature)
|
String |
getAlgorithm() |
Hmac |
getHmac() |
Plaintext |
getPlaintext() |
Signature |
getSignature() |
public static VaultSignatureVerificationRequest.VaultSignatureVerificationRequestBuilder builder()
VaultSignatureVerificationRequest.VaultSignatureVerificationRequestBuilder
.public static VaultSignatureVerificationRequest create(Plaintext plaintext, Signature signature)
plaintext
- the plaintext, must not be null.signature
- the signature, must not be null.VaultSignatureVerificationRequest
for Plaintext
and
Signature
.public static VaultSignatureVerificationRequest create(Plaintext plaintext, Hmac hmac)
plaintext
- the plaintext, must not be null.hmac
- the hmac, must not be null.VaultSignatureVerificationRequest
for Plaintext
and
Hmac
.public Plaintext getPlaintext()
@Nullable public Signature getSignature()
@Nullable public Hmac getHmac()
Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.