Class EncryptionMaterialsRequest

    • Method Detail

      • getContext

        public Map<String,​String> getContext()
        Returns:
        the encryption context (possibly an empty map)
      • getPlaintextSize

        public long getPlaintextSize()
        Returns:
        The size of the plaintext if known, or -1 otherwise
      • getPlaintext

        public byte[] getPlaintext()
        Returns:
        The entire input plaintext, if available (and not streaming). Note that for performance reason this is not a copy of the plaintext; you should never modify this buffer, lest the actual data being encrypted be modified. If the input plaintext is unavailable, this will be null.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object