Package com.tapkey.mobile.model
Class CryptArtifactsMetaData
- java.lang.Object
-
- com.tapkey.mobile.model.CryptArtifactsMetaData
-
public class CryptArtifactsMetaData extends Object
Meta data of CryptArtifacts CryptArtifacts contain the cryptographic material for executing commands on locking devices. Each instance of CryptArtifacts is issued based on a grant and is usually valid for only a limited amount of time that is shorter than the validity period of the related grant.
-
-
Constructor Summary
Constructors Constructor Description CryptArtifactsMetaData(String lockId, String validFrom, String validBefore, net.tpky.mc.model.GrantDto grant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.tpky.mc.model.GrantDto
getGrant()
Returns details about the Grant related to this instance.String
getLockId()
Returns the boundLockId the CryptArtifacts are issued forString
getValidBefore()
Returns the time when the CryptArtifacts expire.String
getValidFrom()
Returns the time from when the CryptArtifacts are valid from.
-
-
-
Method Detail
-
getLockId
public String getLockId()
Returns the boundLockId the CryptArtifacts are issued for- Returns:
- boundLockId issued for
-
getValidFrom
public String getValidFrom()
Returns the time from when the CryptArtifacts are valid from. The CryptArtifacts, in contrast of grant, is only valid for a short period of time.- Returns:
- valid from
-
getValidBefore
public String getValidBefore()
Returns the time when the CryptArtifacts expire. The CryptArtifacts, in contrast to the related grant, are usually only valid for a limited period of time.- Returns:
- validBefore
-
getGrant
public net.tpky.mc.model.GrantDto getGrant()
Returns details about the Grant related to this instance.- Returns:
- grant issued from
-
-