
io.opencannabis.schema.crypto.SignatureOrBuilder 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/Signature.proto
package io.opencannabis.schema.crypto;
public interface SignatureOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencannabis.crypto.Signature)
com.google.protobuf.MessageOrBuilder {
/**
*
* Public key fingerprint, or raw content of the public key, that performed the signing operation.
*
*
* .opencannabis.crypto.KeyMaterial public_key = 1;
*/
boolean hasPublicKey();
/**
*
* Public key fingerprint, or raw content of the public key, that performed the signing operation.
*
*
* .opencannabis.crypto.KeyMaterial public_key = 1;
*/
io.opencannabis.schema.crypto.primitives.KeyMaterial getPublicKey();
/**
*
* Public key fingerprint, or raw content of the public key, that performed the signing operation.
*
*
* .opencannabis.crypto.KeyMaterial public_key = 1;
*/
io.opencannabis.schema.crypto.primitives.KeyMaterialOrBuilder getPublicKeyOrBuilder();
/**
*
* Cryptographic fingerprint of the subject data that was signed. This is the actual value that should be signed by
* the private key and recomputed via the public key.
*
*
* .opencannabis.crypto.Hash fingerprint = 2;
*/
boolean hasFingerprint();
/**
*
* Cryptographic fingerprint of the subject data that was signed. This is the actual value that should be signed by
* the private key and recomputed via the public key.
*
*
* .opencannabis.crypto.Hash fingerprint = 2;
*/
io.opencannabis.schema.crypto.primitives.integrity.Hash getFingerprint();
/**
*
* Cryptographic fingerprint of the subject data that was signed. This is the actual value that should be signed by
* the private key and recomputed via the public key.
*
*
* .opencannabis.crypto.Hash fingerprint = 2;
*/
io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder getFingerprintOrBuilder();
/**
*
* Raw bytes of the digital signature, performed over `fingerprint` by the private key corresponding to the
* `public_key` listed in this request.
*
*
* bytes raw = 5;
*/
com.google.protobuf.ByteString getRaw();
/**
*
* Base-64 encoded raw bytes of the digital signature, performed over `fingerprint` by the private key corresponding
* to the `public_key` listed in this request.
*
*
* string b64 = 6;
*/
java.lang.String getB64();
/**
*
* Base-64 encoded raw bytes of the digital signature, performed over `fingerprint` by the private key corresponding
* to the `public_key` listed in this request.
*
*
* string b64 = 6;
*/
com.google.protobuf.ByteString
getB64Bytes();
/**
*
* Hex-encoded and uppercased raw bytes of the digital signature, performed over `fingerprint` by the private key
* corresponding to the `public_key` listed in the request.
*
*
* string hex = 7;
*/
java.lang.String getHex();
/**
*
* Hex-encoded and uppercased raw bytes of the digital signature, performed over `fingerprint` by the private key
* corresponding to the `public_key` listed in the request.
*
*
* string hex = 7;
*/
com.google.protobuf.ByteString
getHexBytes();
public io.opencannabis.schema.crypto.Signature.SignatureCase getSignatureCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy