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

io.opencannabis.schema.crypto.SignatureOrBuilder 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/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