#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCmacParams {
#[prost(uint32, tag="1")]
pub tag_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCmacKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(bytes="vec", tag="2")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
#[prost(message, optional, tag="3")]
pub params: ::core::option::Option<AesCmacParams>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCmacKeyFormat {
#[prost(uint32, tag="1")]
pub key_size: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<AesCmacParams>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCmacPrfKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(bytes="vec", tag="2")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCmacPrfKeyFormat {
#[prost(uint32, tag="2")]
pub version: u32,
#[prost(uint32, tag="1")]
pub key_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCtrParams {
#[prost(uint32, tag="1")]
pub iv_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCtrKeyFormat {
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<AesCtrParams>,
#[prost(uint32, tag="2")]
pub key_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCtrKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<AesCtrParams>,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum EllipticCurveType {
UnknownCurve = 0,
NistP256 = 2,
NistP384 = 3,
NistP521 = 4,
Curve25519 = 5,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum EcPointFormat {
UnknownFormat = 0,
Uncompressed = 1,
Compressed = 2,
DoNotUseCrunchyUncompressed = 3,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum HashType {
UnknownHash = 0,
Sha1 = 1,
Sha384 = 2,
Sha256 = 3,
Sha512 = 4,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HmacParams {
#[prost(enumeration="HashType", tag="1")]
pub hash: i32,
#[prost(uint32, tag="2")]
pub tag_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HmacKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<HmacParams>,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HmacKeyFormat {
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<HmacParams>,
#[prost(uint32, tag="2")]
pub key_size: u32,
#[prost(uint32, tag="3")]
pub version: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCtrHmacAeadKeyFormat {
#[prost(message, optional, tag="1")]
pub aes_ctr_key_format: ::core::option::Option<AesCtrKeyFormat>,
#[prost(message, optional, tag="2")]
pub hmac_key_format: ::core::option::Option<HmacKeyFormat>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCtrHmacAeadKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub aes_ctr_key: ::core::option::Option<AesCtrKey>,
#[prost(message, optional, tag="3")]
pub hmac_key: ::core::option::Option<HmacKey>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCtrHmacStreamingParams {
#[prost(uint32, tag="1")]
pub ciphertext_segment_size: u32,
#[prost(uint32, tag="2")]
pub derived_key_size: u32,
#[prost(enumeration="HashType", tag="3")]
pub hkdf_hash_type: i32,
#[prost(message, optional, tag="4")]
pub hmac_params: ::core::option::Option<HmacParams>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCtrHmacStreamingKeyFormat {
#[prost(uint32, tag="3")]
pub version: u32,
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<AesCtrHmacStreamingParams>,
#[prost(uint32, tag="2")]
pub key_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesCtrHmacStreamingKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<AesCtrHmacStreamingParams>,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesEaxParams {
#[prost(uint32, tag="1")]
pub iv_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesEaxKeyFormat {
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<AesEaxParams>,
#[prost(uint32, tag="2")]
pub key_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesEaxKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<AesEaxParams>,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesGcmKeyFormat {
#[prost(uint32, tag="2")]
pub key_size: u32,
#[prost(uint32, tag="3")]
pub version: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesGcmKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesGcmHkdfStreamingParams {
#[prost(uint32, tag="1")]
pub ciphertext_segment_size: u32,
#[prost(uint32, tag="2")]
pub derived_key_size: u32,
#[prost(enumeration="HashType", tag="3")]
pub hkdf_hash_type: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesGcmHkdfStreamingKeyFormat {
#[prost(uint32, tag="3")]
pub version: u32,
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<AesGcmHkdfStreamingParams>,
#[prost(uint32, tag="2")]
pub key_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesGcmHkdfStreamingKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<AesGcmHkdfStreamingParams>,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesGcmSivKeyFormat {
#[prost(uint32, tag="2")]
pub key_size: u32,
#[prost(uint32, tag="1")]
pub version: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesGcmSivKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesSivKeyFormat {
#[prost(uint32, tag="1")]
pub key_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AesSivKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(bytes="vec", tag="2")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChaCha20Poly1305KeyFormat {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChaCha20Poly1305Key {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(bytes="vec", tag="2")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeyTypeEntry {
#[prost(string, tag="1")]
pub primitive_name: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub type_url: ::prost::alloc::string::String,
#[prost(uint32, tag="3")]
pub key_manager_version: u32,
#[prost(bool, tag="4")]
pub new_key_allowed: bool,
#[prost(string, tag="5")]
pub catalogue_name: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegistryConfig {
#[prost(string, tag="1")]
pub config_name: ::prost::alloc::string::String,
#[prost(message, repeated, tag="2")]
pub entry: ::prost::alloc::vec::Vec<KeyTypeEntry>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EcdsaParams {
#[prost(enumeration="HashType", tag="1")]
pub hash_type: i32,
#[prost(enumeration="EllipticCurveType", tag="2")]
pub curve: i32,
#[prost(enumeration="EcdsaSignatureEncoding", tag="3")]
pub encoding: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EcdsaPublicKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<EcdsaParams>,
#[prost(bytes="vec", tag="3")]
pub x: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="4")]
pub y: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EcdsaPrivateKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub public_key: ::core::option::Option<EcdsaPublicKey>,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EcdsaKeyFormat {
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<EcdsaParams>,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum EcdsaSignatureEncoding {
UnknownEncoding = 0,
IeeeP1363 = 1,
Der = 2,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeyTemplate {
#[prost(string, tag="1")]
pub type_url: ::prost::alloc::string::String,
#[prost(bytes="vec", tag="2")]
pub value: ::prost::alloc::vec::Vec<u8>,
#[prost(enumeration="OutputPrefixType", tag="3")]
pub output_prefix_type: i32,
}
#[derive(serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeyData {
#[prost(string, tag="1")]
pub type_url: ::prost::alloc::string::String,
#[prost(bytes="vec", tag="2")]
#[serde(with = "crate::json::b64")]
pub value: ::prost::alloc::vec::Vec<u8>,
#[prost(enumeration="key_data::KeyMaterialType", tag="3")]
#[serde(with = "crate::json::key_material_type")]
pub key_material_type: i32,
}
pub mod key_data {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum KeyMaterialType {
UnknownKeymaterial = 0,
Symmetric = 1,
AsymmetricPrivate = 2,
AsymmetricPublic = 3,
Remote = 4,
}
}
#[derive(serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Keyset {
#[prost(uint32, tag="1")]
pub primary_key_id: u32,
#[prost(message, repeated, tag="2")]
pub key: ::prost::alloc::vec::Vec<keyset::Key>,
}
pub mod keyset {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Key {
#[prost(message, optional, tag="1")]
pub key_data: ::core::option::Option<super::KeyData>,
#[prost(enumeration="super::KeyStatusType", tag="2")]
#[serde(with = "crate::json::key_status_type")]
pub status: i32,
#[prost(uint32, tag="3")]
pub key_id: u32,
#[prost(enumeration="super::OutputPrefixType", tag="4")]
#[serde(with = "crate::json::output_prefix_type")]
pub output_prefix_type: i32,
}
}
#[derive(serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeysetInfo {
#[prost(uint32, tag="1")]
pub primary_key_id: u32,
#[prost(message, repeated, tag="2")]
pub key_info: ::prost::alloc::vec::Vec<keyset_info::KeyInfo>,
}
pub mod keyset_info {
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeyInfo {
#[prost(string, tag="1")]
pub type_url: ::prost::alloc::string::String,
#[prost(enumeration="super::KeyStatusType", tag="2")]
#[serde(with = "crate::json::key_status_type")]
pub status: i32,
#[prost(uint32, tag="3")]
pub key_id: u32,
#[prost(enumeration="super::OutputPrefixType", tag="4")]
#[serde(with = "crate::json::output_prefix_type")]
pub output_prefix_type: i32,
}
}
#[derive(serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EncryptedKeyset {
#[prost(bytes="vec", tag="2")]
#[serde(with = "crate::json::b64")]
pub encrypted_keyset: ::prost::alloc::vec::Vec<u8>,
#[prost(message, optional, tag="3")]
pub keyset_info: ::core::option::Option<KeysetInfo>,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum KeyStatusType {
UnknownStatus = 0,
Enabled = 1,
Disabled = 2,
Destroyed = 3,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum OutputPrefixType {
UnknownPrefix = 0,
Tink = 1,
Legacy = 2,
Raw = 3,
Crunchy = 4,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EciesHkdfKemParams {
#[prost(enumeration="EllipticCurveType", tag="1")]
pub curve_type: i32,
#[prost(enumeration="HashType", tag="2")]
pub hkdf_hash_type: i32,
#[prost(bytes="vec", tag="11")]
pub hkdf_salt: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EciesAeadDemParams {
#[prost(message, optional, tag="2")]
pub aead_dem: ::core::option::Option<KeyTemplate>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EciesAeadHkdfParams {
#[prost(message, optional, tag="1")]
pub kem_params: ::core::option::Option<EciesHkdfKemParams>,
#[prost(message, optional, tag="2")]
pub dem_params: ::core::option::Option<EciesAeadDemParams>,
#[prost(enumeration="EcPointFormat", tag="3")]
pub ec_point_format: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EciesAeadHkdfPublicKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<EciesAeadHkdfParams>,
#[prost(bytes="vec", tag="3")]
pub x: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="4")]
pub y: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EciesAeadHkdfPrivateKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub public_key: ::core::option::Option<EciesAeadHkdfPublicKey>,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EciesAeadHkdfKeyFormat {
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<EciesAeadHkdfParams>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Ed25519KeyFormat {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Ed25519PublicKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(bytes="vec", tag="2")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Ed25519PrivateKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(bytes="vec", tag="2")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
#[prost(message, optional, tag="3")]
pub public_key: ::core::option::Option<Ed25519PublicKey>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Empty {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HkdfPrfParams {
#[prost(enumeration="HashType", tag="1")]
pub hash: i32,
#[prost(bytes="vec", tag="2")]
pub salt: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HkdfPrfKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<HkdfPrfParams>,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HkdfPrfKeyFormat {
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<HkdfPrfParams>,
#[prost(uint32, tag="2")]
pub key_size: u32,
#[prost(uint32, tag="3")]
pub version: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HmacPrfParams {
#[prost(enumeration="HashType", tag="1")]
pub hash: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HmacPrfKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<HmacPrfParams>,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HmacPrfKeyFormat {
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<HmacPrfParams>,
#[prost(uint32, tag="2")]
pub key_size: u32,
#[prost(uint32, tag="3")]
pub version: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct JwtHmacKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(enumeration="HashType", tag="2")]
pub hash_type: i32,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct JwtHmacKeyFormat {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(enumeration="HashType", tag="2")]
pub hash_type: i32,
#[prost(uint32, tag="3")]
pub key_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KmsAeadKeyFormat {
#[prost(string, tag="1")]
pub key_uri: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KmsAeadKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<KmsAeadKeyFormat>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KmsEnvelopeAeadKeyFormat {
#[prost(string, tag="1")]
pub kek_uri: ::prost::alloc::string::String,
#[prost(message, optional, tag="2")]
pub dek_template: ::core::option::Option<KeyTemplate>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KmsEnvelopeAeadKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<KmsEnvelopeAeadKeyFormat>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PrfBasedDeriverParams {
#[prost(message, optional, tag="1")]
pub derived_key_template: ::core::option::Option<KeyTemplate>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PrfBasedDeriverKeyFormat {
#[prost(message, optional, tag="1")]
pub prf_key_template: ::core::option::Option<KeyTemplate>,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<PrfBasedDeriverParams>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PrfBasedDeriverKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub prf_key: ::core::option::Option<KeyData>,
#[prost(message, optional, tag="3")]
pub params: ::core::option::Option<PrfBasedDeriverParams>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RsaSsaPkcs1Params {
#[prost(enumeration="HashType", tag="1")]
pub hash_type: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RsaSsaPkcs1PublicKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<RsaSsaPkcs1Params>,
#[prost(bytes="vec", tag="3")]
pub n: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="4")]
pub e: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RsaSsaPkcs1PrivateKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub public_key: ::core::option::Option<RsaSsaPkcs1PublicKey>,
#[prost(bytes="vec", tag="3")]
pub d: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="4")]
pub p: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="5")]
pub q: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="6")]
pub dp: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="7")]
pub dq: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="8")]
pub crt: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RsaSsaPkcs1KeyFormat {
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<RsaSsaPkcs1Params>,
#[prost(uint32, tag="2")]
pub modulus_size_in_bits: u32,
#[prost(bytes="vec", tag="3")]
pub public_exponent: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RsaSsaPssParams {
#[prost(enumeration="HashType", tag="1")]
pub sig_hash: i32,
#[prost(enumeration="HashType", tag="2")]
pub mgf1_hash: i32,
#[prost(int32, tag="3")]
pub salt_length: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RsaSsaPssPublicKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub params: ::core::option::Option<RsaSsaPssParams>,
#[prost(bytes="vec", tag="3")]
pub n: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="4")]
pub e: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RsaSsaPssPrivateKey {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(message, optional, tag="2")]
pub public_key: ::core::option::Option<RsaSsaPssPublicKey>,
#[prost(bytes="vec", tag="3")]
pub d: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="4")]
pub p: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="5")]
pub q: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="6")]
pub dp: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="7")]
pub dq: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="8")]
pub crt: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RsaSsaPssKeyFormat {
#[prost(message, optional, tag="1")]
pub params: ::core::option::Option<RsaSsaPssParams>,
#[prost(uint32, tag="2")]
pub modulus_size_in_bits: u32,
#[prost(bytes="vec", tag="3")]
pub public_exponent: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct XChaCha20Poly1305KeyFormat {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct XChaCha20Poly1305Key {
#[prost(uint32, tag="1")]
pub version: u32,
#[prost(bytes="vec", tag="3")]
pub key_value: ::prost::alloc::vec::Vec<u8>,
}