Class AwsEc2AuthenticationOptions.Nonce
java.lang.Object
org.springframework.vault.authentication.AwsEc2AuthenticationOptions.Nonce
- Enclosing class:
- AwsEc2AuthenticationOptions
Value object for an authentication nonce.
- Since:
- 1.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a new generatedAwsEc2AuthenticationOptions.NonceusingUUID.char[]getValue()provided(char[] nonce) Create a wrappedAwsEc2AuthenticationOptions.Noncegiven anoncevalue.
-
Constructor Details
-
Nonce
protected Nonce(char[] value)
-
-
Method Details
-
generated
Create a new generatedAwsEc2AuthenticationOptions.NonceusingUUID.- Returns:
- a new generated
AwsEc2AuthenticationOptions.NonceusingUUID.
-
provided
Create a wrappedAwsEc2AuthenticationOptions.Noncegiven anoncevalue.- Returns:
- a wrapped
AwsEc2AuthenticationOptions.Noncegiven for thenoncevalue.
-
getValue
public char[] getValue()- Returns:
- the nonce value.
-