All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opencannabis.schema.crypto.EncryptedDataOrBuilder Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas Co.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: crypto/Container.proto

package io.opencannabis.schema.crypto;

public interface EncryptedDataOrBuilder extends
    // @@protoc_insertion_point(interface_extends:opencannabis.crypto.EncryptedData)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Ciphertext, i.e., data contained in the encrypted container.
   * 
* * bytes data = 1; */ com.google.protobuf.ByteString getData(); /** *
   * Content encoding for the raw ciphertext data specified.
   * 
* * .opencannabis.content.Encoding encoding = 2; */ int getEncodingValue(); /** *
   * Content encoding for the raw ciphertext data specified.
   * 
* * .opencannabis.content.Encoding encoding = 2; */ io.opencannabis.schema.content.GenericContent.Encoding getEncoding(); /** *
   * Compression applied to the cleartext, if applicable and specified.
   * 
* * .opencannabis.base.Compression compression = 3; */ boolean hasCompression(); /** *
   * Compression applied to the cleartext, if applicable and specified.
   * 
* * .opencannabis.base.Compression compression = 3; */ io.opencannabis.schema.base.BaseCompression.Compression getCompression(); /** *
   * Compression applied to the cleartext, if applicable and specified.
   * 
* * .opencannabis.base.Compression compression = 3; */ io.opencannabis.schema.base.BaseCompression.CompressionOrBuilder getCompressionOrBuilder(); /** *
   * Cryptographic fingerprint of the ciphertext data. If compression is active, this is applied beforehand.
   * 
* * .opencannabis.crypto.Hash fingerprint = 4; */ boolean hasFingerprint(); /** *
   * Cryptographic fingerprint of the ciphertext data. If compression is active, this is applied beforehand.
   * 
* * .opencannabis.crypto.Hash fingerprint = 4; */ io.opencannabis.schema.crypto.primitives.integrity.Hash getFingerprint(); /** *
   * Cryptographic fingerprint of the ciphertext data. If compression is active, this is applied beforehand.
   * 
* * .opencannabis.crypto.Hash fingerprint = 4; */ io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder getFingerprintOrBuilder(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy