io.opencannabis.schema.crypto.primitives.KeyParametersOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java RPCAPI client for the Bloombox Cloud.
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/primitives/Keys.proto
package io.opencannabis.schema.crypto.primitives;
public interface KeyParametersOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencannabis.crypto.KeyParameters)
com.google.protobuf.MessageOrBuilder {
/**
*
* Algorithm in use to generate the key.
*
*
* string algorithm = 1;
*/
java.lang.String getAlgorithm();
/**
*
* Algorithm in use to generate the key.
*
*
* string algorithm = 1;
*/
com.google.protobuf.ByteString
getAlgorithmBytes();
/**
*
* Format name for the key.
*
*
* string format = 2;
*/
java.lang.String getFormat();
/**
*
* Format name for the key.
*
*
* string format = 2;
*/
com.google.protobuf.ByteString
getFormatBytes();
/**
*
* Key size, in bits, if applicable.
*
*
* uint32 bits = 3;
*/
int getBits();
/**
*
* Type/architecture of the keys.
*
*
* .opencannabis.crypto.KeyType type = 4;
*/
int getTypeValue();
/**
*
* Type/architecture of the keys.
*
*
* .opencannabis.crypto.KeyType type = 4;
*/
io.opencannabis.schema.crypto.primitives.KeyType getType();
/**
*
* Disposition of the subject key (i.e. scope).
*
*
* .opencannabis.crypto.KeyDisposition disposition = 5;
*/
int getDispositionValue();
/**
*
* Disposition of the subject key (i.e. scope).
*
*
* .opencannabis.crypto.KeyDisposition disposition = 5;
*/
io.opencannabis.schema.crypto.primitives.KeyDisposition getDisposition();
/**
*
* Key type/keying scheme.
*
*
* .opencannabis.crypto.KeyingScheme scheme = 10;
*/
int getSchemeValue();
/**
*
* Key type/keying scheme.
*
*
* .opencannabis.crypto.KeyingScheme scheme = 10;
*/
io.opencannabis.schema.crypto.primitives.KeyingScheme getScheme();
/**
*
* Specifies parameters for symmetric keying.
*
*
* .opencannabis.crypto.SymmetricKeyParameters symmetric = 11;
*/
boolean hasSymmetric();
/**
*
* Specifies parameters for symmetric keying.
*
*
* .opencannabis.crypto.SymmetricKeyParameters symmetric = 11;
*/
io.opencannabis.schema.crypto.primitives.SymmetricKeyParameters getSymmetric();
/**
*
* Specifies parameters for symmetric keying.
*
*
* .opencannabis.crypto.SymmetricKeyParameters symmetric = 11;
*/
io.opencannabis.schema.crypto.primitives.SymmetricKeyParametersOrBuilder getSymmetricOrBuilder();
public io.opencannabis.schema.crypto.primitives.KeyParameters.ArchitectureCase getArchitectureCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy