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
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new generatedAwsEc2AuthenticationOptions.Nonce
usingUUID
.char[]
getValue()
provided
(char[] nonce) Create a wrappedAwsEc2AuthenticationOptions.Nonce
given anonce
value.
-
Constructor Details
-
Nonce
protected Nonce(char[] value)
-
-
Method Details
-
generated
Create a new generatedAwsEc2AuthenticationOptions.Nonce
usingUUID
.- Returns:
- a new generated
AwsEc2AuthenticationOptions.Nonce
usingUUID
.
-
provided
Create a wrappedAwsEc2AuthenticationOptions.Nonce
given anonce
value.- Returns:
- a wrapped
AwsEc2AuthenticationOptions.Nonce
given for thenonce
value.
-
getValue
public char[] getValue()- Returns:
- the nonce value.
-