public class VaultTransitContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VaultTransitContext.VaultTransitRequestBuilder
Builder for
VaultTransitContext . |
Modifier and Type | Method and Description |
---|---|
static VaultTransitContext.VaultTransitRequestBuilder |
builder() |
static VaultTransitContext |
empty() |
boolean |
equals(Object o) |
static VaultTransitContext |
fromContext(byte[] context)
Create a
VaultTransitContext given context bytes. |
static VaultTransitContext |
fromNonce(byte[] nonce)
Create a
VaultTransitContext given nonce bytes. |
byte[] |
getContext() |
byte[] |
getNonce() |
int |
hashCode() |
public static VaultTransitContext.VaultTransitRequestBuilder builder()
VaultTransitContext.VaultTransitRequestBuilder
.public static VaultTransitContext empty()
VaultTransitContext
.public static VaultTransitContext fromContext(byte[] context)
VaultTransitContext
given context
bytes.context
- context bytes, must not be null.VaultTransitContext
for context
.public static VaultTransitContext fromNonce(byte[] nonce)
VaultTransitContext
given nonce
bytes.nonce
- nonce bytes, must not be null.VaultTransitContext
for nonce
.public byte[] getContext()
public byte[] getNonce()
Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.