Class SessionMasterKey
java.lang.Object
com.linecorp.centraldogma.server.auth.SessionMasterKey
A session master key used to derive session keys.
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMasterKey(String wrappedMasterKey, int version, String salt, String kekId, Instant creationInstant) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptioncreation()Returns the creation timestamp of the session master key.Returns the creation instant of the session master key.kekId()Returns the key encryption key (KEK) ID used to wrap the session master key.salt()Returns a salt used to derive session keys from the master key.toString()intversion()Returns the version of the session master key.Returns a wrapped session master key.
-
Constructor Details
-
SessionMasterKey
-
-
Method Details
-
wrappedMasterKey
Returns a wrapped session master key. -
version
public int version()Returns the version of the session master key. -
salt
Returns a salt used to derive session keys from the master key. It's encoded in base64. -
kekId
Returns the key encryption key (KEK) ID used to wrap the session master key. -
creation
Returns the creation timestamp of the session master key. -
creationInstant
Returns the creation instant of the session master key. -
toString
-