SecretBuilder |
SecretBuilder.allowedAlgorithms(Collection<String> allowedAlgorithms) |
Sets the cryptographic algorithms that can be used with this key.
|
SecretBuilder |
SecretBuilder.allowedAlgorithms(Predicate<String> allowedAlgorithmsTest) |
Sets the cryptographic algorithms that can be used with this key.
|
SecretBuilder |
SecretBuilder.certificate(Certificate certificate) |
Sets the certificate associated with this secret.
|
SecretBuilder |
SecretBuilder.certificateChain(Certificate... chain) |
Sets the certificate chain associated with this secret.
|
SecretBuilder |
SecretBuilder.certificateChain(List<? extends Certificate> chain) |
Sets the certificate chain associated with this secret.
|
SecretBuilder |
SecretBuilder.clock(Clock clock) |
Set the source of time for the default (relative) secret expiry time.
|
SecretBuilder |
SecretBuilder.expiresAt(Instant expiry) |
Sets the secret to expire at the given time.
|
SecretBuilder |
SecretBuilder.expiresIn(long deadline,
TemporalUnit unit,
Clock clock) |
Sets the secret to expire in deadline units from now.
|
SecretBuilder |
SecretBuilder.keyUsages(Set<KeyUsage> keyUsages) |
Sets the allowed key usages for this key.
|
SecretBuilder |
SecretBuilder.password(char[] password) |
Sets the raw data of this secret object to the UTF-8 bytes of the given password.
|
SecretBuilder |
SecretBuilder.provider(Provider provider) |
Sets the provider associated with this secret.
|
SecretBuilder |
SecretBuilder.publicKey(PublicKey key) |
Sets the public key associated with this secret.
|
SecretBuilder |
SecretBuilder.rawData(byte[] rawData) |
Sets the raw data of the secret object.
|
SecretBuilder |
SecretBuilder.secretKey(Key key) |
Sets the secret key for this object.
|
SecretBuilder |
SecretBuilder.stableId(String id) |
Sets the stable id of this secret.
|