Class ActivationKey.V2Encrypted
java.lang.Object
com.eqixiac.equinix.core.model.multicloud.ActivationKey.V2Encrypted
- All Implemented Interfaces:
ActivationKey
- Enclosing interface:
ActivationKey
A version 2 key: the envelope in cleartext, everything else encrypted for the destination
environment. Only the envelope is readable. Equality compares the encoded form.
- Author:
- ianjones
-
Nested Class Summary
Nested classes/interfaces inherited from interface ActivationKey
ActivationKey.Opaque, ActivationKey.RedactingSerializer, ActivationKey.V1, ActivationKey.V2EncryptedModifier and TypeInterfaceDescriptionstatic final classA key this SDK release cannot interpret.static final classThe Jackson serializer of every variant: it writes the empty object{}and nothing else, so no key material reaches JSON produced by anyObjectMapper, including one withSerializationFeature.FAIL_ON_EMPTY_BEANSenabled (the default).static final classA version 1 key: all members in cleartext.static final classA version 2 key: the envelope in cleartext, everything else encrypted for the destination environment. -
Field Summary
Fields -
Method Summary
Methods inherited from interface ActivationKey
destinationEnvironmentIdModifier and TypeMethodDescriptionThe environment id named by the envelope'sdestinationEnvironmentUri, extracted byEnvironmentRef.environmentIdOf(String).
-
Field Details
-
VERSION
public static final int VERSIONTheversionvalue of this variant.- See Also:
-
-
Method Details
-
version
public int version()- Returns:
2
-
destinationEnvironmentUri
- Returns:
- the URI of the environment the key is intended for; never blank
-
encode
- Specified by:
encodein interfaceActivationKey- Returns:
- the string to hand to the receiving provider; see the class documentation for what each variant returns
-
envelopeVersion
- Specified by:
envelopeVersionin interfaceActivationKey- Returns:
- the envelope's
version; empty only for anActivationKey.Opaquekey whose payload carried no readable integerversion
-
envelopeDestinationEnvironmentUri
- Specified by:
envelopeDestinationEnvironmentUriin interfaceActivationKey- Returns:
- the envelope's
destinationEnvironmentUri; empty only for anActivationKey.Opaquekey whose payload carried no readabledestinationEnvironmentUri
-
equals
-
hashCode
-
toString
-