Class 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 Detail

      • CryptArtifactsMetaData

        public CryptArtifactsMetaData​(String lockId,
                                      String validFrom,
                                      String validBefore,
                                      net.tpky.mc.model.GrantDto grant)
    • 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