Class MatDesc


  • public class MatDesc
    extends Object
    A class to handle S3 material descriptor metadata entries (matdesc).
    Author:
    ffunke
    • Field Detail

      • QUERY_ID

        public static String QUERY_ID
        MatDesc key for query ID
      • SMK_ID

        public static String SMK_ID
        MatDesc key for stage master key ID
      • KEY_SIZE

        public static String KEY_SIZE
        MatDesc key for the length of the key in bits
      • DEFAULT_KEY_SIZE

        public static int DEFAULT_KEY_SIZE
        If key size is not explicitly specified, assume DEFAULT_KEY_SIZE
    • Constructor Detail

      • MatDesc

        public MatDesc​(long smkId,
                       String queryId,
                       int keySize)
      • MatDesc

        public MatDesc​(long smkId,
                       String queryId)
    • Method Detail

      • getSmkId

        public long getSmkId()
      • getQueryId

        public String getQueryId()
      • getKeySize

        public int getKeySize()
      • parse

        public static MatDesc parse​(String matdesc)
        Try to parse the material descriptor string.
        Parameters:
        matdesc - string
        Returns:
        The material description or null