public class VaultInitializationRequest extends Object
Modifier and Type | Method and Description |
---|---|
static VaultInitializationRequest |
create(int secretShares,
int secretThreshold)
Create a new VaultInitializationRequest given
secretShares and
secretThreshold . |
int |
getSecretShares() |
int |
getSecretThreshold() |
public static VaultInitializationRequest create(int secretShares, int secretThreshold)
secretShares
and
secretThreshold
.secretShares
- number of key shares.secretThreshold
- number of required keys for unsealing.VaultInitializationRequest
.public int getSecretShares()
public int getSecretThreshold()
Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.