
io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2018, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishing of derivative works, for commercial
* purposes or any other purpose, from a duly authorized officer of Momentum
* Ideas Co.
*
* 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/primitives/Integrity.proto
package io.opencannabis.schema.crypto.primitives.integrity;
public interface HashOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencannabis.crypto.Hash)
com.google.protobuf.MessageOrBuilder {
/**
*
* Specifies the algorithm in use.
*
*
* .opencannabis.crypto.HashAlgorithm algorithm = 1;
*/
int getAlgorithmValue();
/**
*
* Specifies the algorithm in use.
*
*
* .opencannabis.crypto.HashAlgorithm algorithm = 1;
*/
io.opencannabis.schema.crypto.primitives.integrity.HashAlgorithm getAlgorithm();
/**
*
* Raw binary output of the hash algorithm.
*
*
* bytes raw = 2;
*/
com.google.protobuf.ByteString getRaw();
/**
*
* Hex-encoded digest value.
*
*
* string hex = 3;
*/
java.lang.String getHex();
/**
*
* Hex-encoded digest value.
*
*
* string hex = 3;
*/
com.google.protobuf.ByteString
getHexBytes();
/**
*
* Base64-encoded digest value.
*
*
* string b64 = 4;
*/
java.lang.String getB64();
/**
*
* Base64-encoded digest value.
*
*
* string b64 = 4;
*/
com.google.protobuf.ByteString
getB64Bytes();
public io.opencannabis.schema.crypto.primitives.integrity.Hash.DigestCase getDigestCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy