From 4752b87d69f0c1d0d81b040c87e6c0f22ea2fdb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Tremblay?= <1619947+marctrem@users.noreply.github.com> Date: Wed, 15 Jul 2026 22:41:18 -0400 Subject: [PATCH 1/2] Graduate oasis SAML metadata, keys asymmetric-encryption arm, and requested_parent_node_id from priv Three additions promoted from the priv-side overlay: - splitsecure.oasis.saml.v2 (28 files): the base OASIS SAML 2.0 metadata types as a standalone package. These mirror the OASIS standard and only import google well-known types. The inline copies in splitsecure.saml2.v2.metadata remain untouched; the saml2 v3 surface will build on this package instead. - splitsecure.keys.v1.AsymmetricEncryptionSpec + the asymmetric_encryption arm (field 5) on keys.v1.Spec: RSA decryption/encapsulation keys, used by OpenPGP [E] subkeys and RSA-only keys. - teamresource.v1.BaseResourceAttributes.requested_parent_node_id (field 6): the creator-chosen vault-tree placement carried in the quorum-signed part of a create request. A birth-time request only - resources are movable afterwards without a new ceremony. --- .../keys/v1/asymmetric_encryption_spec_pb.ts | 39 +++ gen/es/proto/splitsecure/keys/v1/spec_pb.ts | 10 +- .../v2/additional_metadata_location_pb.ts | 42 +++ .../saml/v2/affiliation_descriptor_pb.ts | 90 ++++++ .../v2/attribute_authority_descriptor_pb.ts | 76 +++++ .../saml/v2/attribute_consuming_service_pb.ts | 67 ++++ .../splitsecure/oasis/saml/v2/attribute_pb.ts | 56 ++++ .../saml/v2/authn_authority_descriptor_pb.ts | 60 ++++ .../oasis/saml/v2/contact_person_pb.ts | 81 +++++ .../oasis/saml/v2/contact_type_pb.ts | 54 ++++ .../oasis/saml/v2/encryption_method_pb.ts | 49 +++ .../splitsecure/oasis/saml/v2/endpoint_pb.ts | 49 +++ .../oasis/saml/v2/entities_descriptor_pb.ts | 88 +++++ .../oasis/saml/v2/entity_descriptor_pb.ts | 147 +++++++++ .../splitsecure/oasis/saml/v2/extension_pb.ts | 49 +++ .../oasis/saml/v2/extensions_pb.ts | 37 +++ .../oasis/saml/v2/idp_sso_descriptor_pb.ts | 83 +++++ .../oasis/saml/v2/indexed_endpoint_pb.ts | 51 +++ .../oasis/saml/v2/key_descriptor_pb.ts | 55 ++++ .../splitsecure/oasis/saml/v2/key_info_pb.ts | 49 +++ .../splitsecure/oasis/saml/v2/key_type_pb.ts | 39 +++ .../oasis/saml/v2/localized_name_pb.ts | 42 +++ .../oasis/saml/v2/localized_uri_pb.ts | 42 +++ .../splitsecure/oasis/saml/v2/metadata_pb.ts | 43 +++ .../oasis/saml/v2/organization_pb.ts | 62 ++++ .../oasis/saml/v2/pdp_descriptor_pb.ts | 60 ++++ .../oasis/saml/v2/requested_attribute_pb.ts | 44 +++ .../oasis/saml/v2/role_descriptor_type_pb.ts | 108 +++++++ .../oasis/saml/v2/sp_sso_descriptor_pb.ts | 69 ++++ .../oasis/saml/v2/sso_descriptor_type_pb.ts | 69 ++++ .../v1/base_resource_attributes_pb.ts | 16 +- .../keys/v1/asymmetric_encryption_spec.pb.go | 152 +++++++++ gen/go/proto/splitsecure/keys/v1/spec.pb.go | 45 ++- .../v2/additional_metadata_location.pb.go | 135 ++++++++ .../saml/v2/affiliation_descriptor.pb.go | 210 ++++++++++++ .../splitsecure/oasis/saml/v2/attribute.pb.go | 156 +++++++++ .../v2/attribute_authority_descriptor.pb.go | 185 +++++++++++ .../saml/v2/attribute_consuming_service.pb.go | 173 ++++++++++ .../saml/v2/authn_authority_descriptor.pb.go | 162 ++++++++++ .../oasis/saml/v2/contact_person.pb.go | 194 +++++++++++ .../oasis/saml/v2/contact_type.pb.go | 142 +++++++++ .../oasis/saml/v2/encryption_method.pb.go | 146 +++++++++ .../splitsecure/oasis/saml/v2/endpoint.pb.go | 145 +++++++++ .../oasis/saml/v2/entities_descriptor.pb.go | 210 ++++++++++++ .../oasis/saml/v2/entity_descriptor.pb.go | 301 ++++++++++++++++++ .../splitsecure/oasis/saml/v2/extension.pb.go | 146 +++++++++ .../oasis/saml/v2/extensions.pb.go | 129 ++++++++ .../oasis/saml/v2/idp_sso_descriptor.pb.go | 196 ++++++++++++ .../oasis/saml/v2/indexed_endpoint.pb.go | 149 +++++++++ .../oasis/saml/v2/key_descriptor.pb.go | 154 +++++++++ .../splitsecure/oasis/saml/v2/key_info.pb.go | 145 +++++++++ .../splitsecure/oasis/saml/v2/key_type.pb.go | 130 ++++++++ .../oasis/saml/v2/localized_name.pb.go | 135 ++++++++ .../oasis/saml/v2/localized_uri.pb.go | 135 ++++++++ .../splitsecure/oasis/saml/v2/metadata.pb.go | 153 +++++++++ .../oasis/saml/v2/organization.pb.go | 167 ++++++++++ .../oasis/saml/v2/pdp_descriptor.pb.go | 162 ++++++++++ .../oasis/saml/v2/requested_attribute.pb.go | 139 ++++++++ .../oasis/saml/v2/role_descriptor_type.pb.go | 237 ++++++++++++++ .../oasis/saml/v2/sp_sso_descriptor.pb.go | 174 ++++++++++ .../oasis/saml/v2/sso_descriptor_type.pb.go | 175 ++++++++++ .../v1/base_resource_attributes.pb.go | 25 +- .../keys/v1/asymmetric_encryption_spec.proto | 10 + proto/splitsecure/keys/v1/spec.proto | 2 + .../v2/additional_metadata_location.proto | 11 + .../saml/v2/affiliation_descriptor.proto | 34 ++ .../splitsecure/oasis/saml/v2/attribute.proto | 17 + .../v2/attribute_authority_descriptor.proto | 27 ++ .../saml/v2/attribute_consuming_service.proto | 23 ++ .../saml/v2/authn_authority_descriptor.proto | 20 ++ .../oasis/saml/v2/contact_person.proto | 29 ++ .../oasis/saml/v2/contact_type.proto | 11 + .../oasis/saml/v2/encryption_method.proto | 14 + .../splitsecure/oasis/saml/v2/endpoint.proto | 14 + .../oasis/saml/v2/entities_descriptor.proto | 32 ++ .../oasis/saml/v2/entity_descriptor.proto | 55 ++++ .../splitsecure/oasis/saml/v2/extension.proto | 14 + .../oasis/saml/v2/extensions.proto | 10 + .../oasis/saml/v2/idp_sso_descriptor.proto | 30 ++ .../oasis/saml/v2/indexed_endpoint.proto | 16 + .../oasis/saml/v2/key_descriptor.proto | 18 ++ .../splitsecure/oasis/saml/v2/key_info.proto | 14 + .../splitsecure/oasis/saml/v2/key_type.proto | 8 + .../oasis/saml/v2/localized_name.proto | 11 + .../oasis/saml/v2/localized_uri.proto | 11 + .../splitsecure/oasis/saml/v2/metadata.proto | 12 + .../oasis/saml/v2/organization.proto | 21 ++ .../oasis/saml/v2/pdp_descriptor.proto | 20 ++ .../oasis/saml/v2/requested_attribute.proto | 13 + .../oasis/saml/v2/role_descriptor_type.proto | 42 +++ .../oasis/saml/v2/sp_sso_descriptor.proto | 24 ++ .../oasis/saml/v2/sso_descriptor_type.proto | 24 ++ .../v1/base_resource_attributes.proto | 10 + 93 files changed, 7312 insertions(+), 18 deletions(-) create mode 100644 gen/es/proto/splitsecure/keys/v1/asymmetric_encryption_spec_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/additional_metadata_location_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/affiliation_descriptor_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/attribute_consuming_service_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/attribute_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/contact_person_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/contact_type_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/encryption_method_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/endpoint_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/entities_descriptor_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/entity_descriptor_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/extension_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/extensions_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/indexed_endpoint_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/key_descriptor_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/key_info_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/key_type_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/localized_name_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/localized_uri_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/metadata_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/organization_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/pdp_descriptor_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/requested_attribute_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/role_descriptor_type_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor_pb.ts create mode 100644 gen/es/proto/splitsecure/oasis/saml/v2/sso_descriptor_type_pb.ts create mode 100644 gen/go/proto/splitsecure/keys/v1/asymmetric_encryption_spec.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/additional_metadata_location.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/affiliation_descriptor.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/attribute.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/attribute_consuming_service.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/contact_person.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/contact_type.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/encryption_method.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/endpoint.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/entities_descriptor.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/entity_descriptor.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/extension.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/extensions.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/indexed_endpoint.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/key_descriptor.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/key_info.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/key_type.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/localized_name.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/localized_uri.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/metadata.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/organization.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/pdp_descriptor.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/requested_attribute.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/role_descriptor_type.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor.pb.go create mode 100644 gen/go/proto/splitsecure/oasis/saml/v2/sso_descriptor_type.pb.go create mode 100644 proto/splitsecure/keys/v1/asymmetric_encryption_spec.proto create mode 100644 proto/splitsecure/oasis/saml/v2/additional_metadata_location.proto create mode 100644 proto/splitsecure/oasis/saml/v2/affiliation_descriptor.proto create mode 100644 proto/splitsecure/oasis/saml/v2/attribute.proto create mode 100644 proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor.proto create mode 100644 proto/splitsecure/oasis/saml/v2/attribute_consuming_service.proto create mode 100644 proto/splitsecure/oasis/saml/v2/authn_authority_descriptor.proto create mode 100644 proto/splitsecure/oasis/saml/v2/contact_person.proto create mode 100644 proto/splitsecure/oasis/saml/v2/contact_type.proto create mode 100644 proto/splitsecure/oasis/saml/v2/encryption_method.proto create mode 100644 proto/splitsecure/oasis/saml/v2/endpoint.proto create mode 100644 proto/splitsecure/oasis/saml/v2/entities_descriptor.proto create mode 100644 proto/splitsecure/oasis/saml/v2/entity_descriptor.proto create mode 100644 proto/splitsecure/oasis/saml/v2/extension.proto create mode 100644 proto/splitsecure/oasis/saml/v2/extensions.proto create mode 100644 proto/splitsecure/oasis/saml/v2/idp_sso_descriptor.proto create mode 100644 proto/splitsecure/oasis/saml/v2/indexed_endpoint.proto create mode 100644 proto/splitsecure/oasis/saml/v2/key_descriptor.proto create mode 100644 proto/splitsecure/oasis/saml/v2/key_info.proto create mode 100644 proto/splitsecure/oasis/saml/v2/key_type.proto create mode 100644 proto/splitsecure/oasis/saml/v2/localized_name.proto create mode 100644 proto/splitsecure/oasis/saml/v2/localized_uri.proto create mode 100644 proto/splitsecure/oasis/saml/v2/metadata.proto create mode 100644 proto/splitsecure/oasis/saml/v2/organization.proto create mode 100644 proto/splitsecure/oasis/saml/v2/pdp_descriptor.proto create mode 100644 proto/splitsecure/oasis/saml/v2/requested_attribute.proto create mode 100644 proto/splitsecure/oasis/saml/v2/role_descriptor_type.proto create mode 100644 proto/splitsecure/oasis/saml/v2/sp_sso_descriptor.proto create mode 100644 proto/splitsecure/oasis/saml/v2/sso_descriptor_type.proto diff --git a/gen/es/proto/splitsecure/keys/v1/asymmetric_encryption_spec_pb.ts b/gen/es/proto/splitsecure/keys/v1/asymmetric_encryption_spec_pb.ts new file mode 100644 index 0000000..abe5ec7 --- /dev/null +++ b/gen/es/proto/splitsecure/keys/v1/asymmetric_encryption_spec_pb.ts @@ -0,0 +1,39 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/keys/v1/asymmetric_encryption_spec.proto (package splitsecure.keys.v1, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { RSA } from "./rsa_pb"; +import { file_splitsecure_keys_v1_rsa } from "./rsa_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/keys/v1/asymmetric_encryption_spec.proto. + */ +export const file_splitsecure_keys_v1_asymmetric_encryption_spec: GenFile = /*@__PURE__*/ + fileDesc("CjRzcGxpdHNlY3VyZS9rZXlzL3YxL2FzeW1tZXRyaWNfZW5jcnlwdGlvbl9zcGVjLnByb3RvEhNzcGxpdHNlY3VyZS5rZXlzLnYxIkwKGEFzeW1tZXRyaWNFbmNyeXB0aW9uU3BlYxInCgNyc2EYASABKAsyGC5zcGxpdHNlY3VyZS5rZXlzLnYxLlJTQUgAQgcKBXVuaW9uQusBChdjb20uc3BsaXRzZWN1cmUua2V5cy52MUIdQXN5bW1ldHJpY0VuY3J5cHRpb25TcGVjUHJvdG9QAVpDZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9rZXlzL3YxO2tleXN2MaICA1NLWKoCE1NwbGl0c2VjdXJlLktleXMuVjHKAhNTcGxpdHNlY3VyZVxLZXlzXFYx4gIfU3BsaXRzZWN1cmVcS2V5c1xWMVxHUEJNZXRhZGF0YeoCFVNwbGl0c2VjdXJlOjpLZXlzOjpWMWIGcHJvdG8z", [file_splitsecure_keys_v1_rsa]); + +/** + * @generated from message splitsecure.keys.v1.AsymmetricEncryptionSpec + */ +export type AsymmetricEncryptionSpec = Message<"splitsecure.keys.v1.AsymmetricEncryptionSpec"> & { + /** + * @generated from oneof splitsecure.keys.v1.AsymmetricEncryptionSpec.union + */ + union: { + /** + * @generated from field: splitsecure.keys.v1.RSA rsa = 1; + */ + value: RSA; + case: "rsa"; + } | { case: undefined; value?: undefined }; +}; + +/** + * Describes the message splitsecure.keys.v1.AsymmetricEncryptionSpec. + * Use `create(AsymmetricEncryptionSpecSchema)` to create a new message. + */ +export const AsymmetricEncryptionSpecSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_keys_v1_asymmetric_encryption_spec, 0); + diff --git a/gen/es/proto/splitsecure/keys/v1/spec_pb.ts b/gen/es/proto/splitsecure/keys/v1/spec_pb.ts index 16acbfe..317deef 100644 --- a/gen/es/proto/splitsecure/keys/v1/spec_pb.ts +++ b/gen/es/proto/splitsecure/keys/v1/spec_pb.ts @@ -4,6 +4,8 @@ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { AsymmetricEncryptionSpec } from "./asymmetric_encryption_spec_pb"; +import { file_splitsecure_keys_v1_asymmetric_encryption_spec } from "./asymmetric_encryption_spec_pb"; import type { DiffieHellmanSpec } from "./diffie_hellman_spec_pb"; import { file_splitsecure_keys_v1_diffie_hellman_spec } from "./diffie_hellman_spec_pb"; import type { KeyEncapsulationSpec } from "./key_encapsulation_spec_pb"; @@ -18,7 +20,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file splitsecure/keys/v1/spec.proto. */ export const file_splitsecure_keys_v1_spec: GenFile = /*@__PURE__*/ - fileDesc("Ch5zcGxpdHNlY3VyZS9rZXlzL3YxL3NwZWMucHJvdG8SE3NwbGl0c2VjdXJlLmtleXMudjEioAIKBFNwZWMSTAoUc3ltbWV0cmljX2VuY3J5cHRpb24YASABKAsyLC5zcGxpdHNlY3VyZS5rZXlzLnYxLlN5bW1ldHJpY0VuY3J5cHRpb25TcGVjSAASNwoJc2lnbmF0dXJlGAIgASgLMiIuc3BsaXRzZWN1cmUua2V5cy52MS5TaWduYXR1cmVTcGVjSAASQAoOZGlmZmllX2hlbGxtYW4YAyABKAsyJi5zcGxpdHNlY3VyZS5rZXlzLnYxLkRpZmZpZUhlbGxtYW5TcGVjSAASRgoRa2V5X2VuY2Fwc3VsYXRpb24YBCABKAsyKS5zcGxpdHNlY3VyZS5rZXlzLnYxLktleUVuY2Fwc3VsYXRpb25TcGVjSABCBwoFdW5pb25C1wEKF2NvbS5zcGxpdHNlY3VyZS5rZXlzLnYxQglTcGVjUHJvdG9QAVpDZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9rZXlzL3YxO2tleXN2MaICA1NLWKoCE1NwbGl0c2VjdXJlLktleXMuVjHKAhNTcGxpdHNlY3VyZVxLZXlzXFYx4gIfU3BsaXRzZWN1cmVcS2V5c1xWMVxHUEJNZXRhZGF0YeoCFVNwbGl0c2VjdXJlOjpLZXlzOjpWMWIGcHJvdG8z", [file_splitsecure_keys_v1_diffie_hellman_spec, file_splitsecure_keys_v1_key_encapsulation_spec, file_splitsecure_keys_v1_signature_spec, file_splitsecure_keys_v1_symmetric_encryption_spec]); + fileDesc("Ch5zcGxpdHNlY3VyZS9rZXlzL3YxL3NwZWMucHJvdG8SE3NwbGl0c2VjdXJlLmtleXMudjEi8AIKBFNwZWMSTAoUc3ltbWV0cmljX2VuY3J5cHRpb24YASABKAsyLC5zcGxpdHNlY3VyZS5rZXlzLnYxLlN5bW1ldHJpY0VuY3J5cHRpb25TcGVjSAASNwoJc2lnbmF0dXJlGAIgASgLMiIuc3BsaXRzZWN1cmUua2V5cy52MS5TaWduYXR1cmVTcGVjSAASQAoOZGlmZmllX2hlbGxtYW4YAyABKAsyJi5zcGxpdHNlY3VyZS5rZXlzLnYxLkRpZmZpZUhlbGxtYW5TcGVjSAASRgoRa2V5X2VuY2Fwc3VsYXRpb24YBCABKAsyKS5zcGxpdHNlY3VyZS5rZXlzLnYxLktleUVuY2Fwc3VsYXRpb25TcGVjSAASTgoVYXN5bW1ldHJpY19lbmNyeXB0aW9uGAUgASgLMi0uc3BsaXRzZWN1cmUua2V5cy52MS5Bc3ltbWV0cmljRW5jcnlwdGlvblNwZWNIAEIHCgV1bmlvbkLXAQoXY29tLnNwbGl0c2VjdXJlLmtleXMudjFCCVNwZWNQcm90b1ABWkNnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL2tleXMvdjE7a2V5c3YxogIDU0tYqgITU3BsaXRzZWN1cmUuS2V5cy5WMcoCE1NwbGl0c2VjdXJlXEtleXNcVjHiAh9TcGxpdHNlY3VyZVxLZXlzXFYxXEdQQk1ldGFkYXRh6gIVU3BsaXRzZWN1cmU6OktleXM6OlYxYgZwcm90bzM", [file_splitsecure_keys_v1_asymmetric_encryption_spec, file_splitsecure_keys_v1_diffie_hellman_spec, file_splitsecure_keys_v1_key_encapsulation_spec, file_splitsecure_keys_v1_signature_spec, file_splitsecure_keys_v1_symmetric_encryption_spec]); /** * @generated from message splitsecure.keys.v1.Spec @@ -51,6 +53,12 @@ export type Spec = Message<"splitsecure.keys.v1.Spec"> & { */ value: KeyEncapsulationSpec; case: "keyEncapsulation"; + } | { + /** + * @generated from field: splitsecure.keys.v1.AsymmetricEncryptionSpec asymmetric_encryption = 5; + */ + value: AsymmetricEncryptionSpec; + case: "asymmetricEncryption"; } | { case: undefined; value?: undefined }; }; diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/additional_metadata_location_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/additional_metadata_location_pb.ts new file mode 100644 index 0000000..59b4b9f --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/additional_metadata_location_pb.ts @@ -0,0 +1,42 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/additional_metadata_location.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/additional_metadata_location.proto. + */ +export const file_splitsecure_oasis_saml_v2_additional_metadata_location: GenFile = /*@__PURE__*/ + fileDesc("CjxzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2FkZGl0aW9uYWxfbWV0YWRhdGFfbG9jYXRpb24ucHJvdG8SGXNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIiQQoaQWRkaXRpb25hbE1ldGFkYXRhTG9jYXRpb24SEQoJbmFtZXNwYWNlGAEgASgJEhAKCGxvY2F0aW9uGAIgASgJQpICCh1jb20uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MkIfQWRkaXRpb25hbE1ldGFkYXRhTG9jYXRpb25Qcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z"); + +/** + * AdditionalMetadataLocation points to additional metadata + * + * @generated from message splitsecure.oasis.saml.v2.AdditionalMetadataLocation + */ +export type AdditionalMetadataLocation = Message<"splitsecure.oasis.saml.v2.AdditionalMetadataLocation"> & { + /** + * Required: namespace + * + * @generated from field: string namespace = 1; + */ + namespace: string; + + /** + * Required: location URI + * + * @generated from field: string location = 2; + */ + location: string; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.AdditionalMetadataLocation. + * Use `create(AdditionalMetadataLocationSchema)` to create a new message. + */ +export const AdditionalMetadataLocationSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_additional_metadata_location, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/affiliation_descriptor_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/affiliation_descriptor_pb.ts new file mode 100644 index 0000000..48267c5 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/affiliation_descriptor_pb.ts @@ -0,0 +1,90 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/affiliation_descriptor.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt"; +import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; +import type { Extensions } from "./extensions_pb"; +import { file_splitsecure_oasis_saml_v2_extensions } from "./extensions_pb"; +import type { KeyDescriptor } from "./key_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_key_descriptor } from "./key_descriptor_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/affiliation_descriptor.proto. + */ +export const file_splitsecure_oasis_saml_v2_affiliation_descriptor: GenFile = /*@__PURE__*/ + fileDesc("CjZzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2FmZmlsaWF0aW9uX2Rlc2NyaXB0b3IucHJvdG8SGXNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIizwIKFUFmZmlsaWF0aW9uRGVzY3JpcHRvchIcChRhZmZpbGlhdGlvbl9vd25lcl9pZBgBIAEoCRIRCglzaWduYXR1cmUYAiABKAwSOQoKZXh0ZW5zaW9ucxgDIAEoCzIlLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuRXh0ZW5zaW9ucxIYChBhZmZpbGlhdGVfbWVtYmVyGAQgAygJEkAKDmtleV9kZXNjcmlwdG9yGAUgAygLMiguc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5LZXlEZXNjcmlwdG9yEi8KC3ZhbGlkX3VudGlsGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIxCg5jYWNoZV9kdXJhdGlvbhgHIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhIKCgJpZBgIIAEoCUKNAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCGkFmZmlsaWF0aW9uRGVzY3JpcHRvclByb3RvUAFaSWdpdGh1Yi5jb20vc3BsaXRzZWN1cmUvYXBpcy9nZW4vZ28vcHJvdG8vc3BsaXRzZWN1cmUvb2FzaXMvc2FtbC92MjtzYW1sdjKiAgNTT1OqAhlTcGxpdHNlY3VyZS5PYXNpcy5TYW1sLlYyygIZU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMuICJVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjJcR1BCTWV0YWRhdGHqAhxTcGxpdHNlY3VyZTo6T2FzaXM6OlNhbWw6OlYyYgZwcm90bzM", [file_google_protobuf_duration, file_google_protobuf_timestamp, file_splitsecure_oasis_saml_v2_extensions, file_splitsecure_oasis_saml_v2_key_descriptor]); + +/** + * AffiliationDescriptor describes an affiliation of entities + * + * @generated from message splitsecure.oasis.saml.v2.AffiliationDescriptor + */ +export type AffiliationDescriptor = Message<"splitsecure.oasis.saml.v2.AffiliationDescriptor"> & { + /** + * Required: affiliation owner ID + * + * @generated from field: string affiliation_owner_id = 1; + */ + affiliationOwnerId: string; + + /** + * Optional: signature + * + * @generated from field: bytes signature = 2; + */ + signature: Uint8Array; + + /** + * Optional: extensions + * + * @generated from field: splitsecure.oasis.saml.v2.Extensions extensions = 3; + */ + extensions?: Extensions; + + /** + * Required: affiliated member entity IDs (at least one) + * + * @generated from field: repeated string affiliate_member = 4; + */ + affiliateMember: string[]; + + /** + * Optional: key descriptors + * + * @generated from field: repeated splitsecure.oasis.saml.v2.KeyDescriptor key_descriptor = 5; + */ + keyDescriptor: KeyDescriptor[]; + + /** + * Optional: validity period + * + * @generated from field: google.protobuf.Timestamp valid_until = 6; + */ + validUntil?: Timestamp; + + /** + * Optional: cache duration + * + * @generated from field: google.protobuf.Duration cache_duration = 7; + */ + cacheDuration?: Duration; + + /** + * Optional: ID attribute + * + * @generated from field: string id = 8; + */ + id: string; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.AffiliationDescriptor. + * Use `create(AffiliationDescriptorSchema)` to create a new message. + */ +export const AffiliationDescriptorSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_affiliation_descriptor, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor_pb.ts new file mode 100644 index 0000000..4e5fbc1 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor_pb.ts @@ -0,0 +1,76 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/attribute_authority_descriptor.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Attribute } from "./attribute_pb"; +import { file_splitsecure_oasis_saml_v2_attribute } from "./attribute_pb"; +import type { Endpoint } from "./endpoint_pb"; +import { file_splitsecure_oasis_saml_v2_endpoint } from "./endpoint_pb"; +import type { RoleDescriptorType } from "./role_descriptor_type_pb"; +import { file_splitsecure_oasis_saml_v2_role_descriptor_type } from "./role_descriptor_type_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/attribute_authority_descriptor.proto. + */ +export const file_splitsecure_oasis_saml_v2_attribute_authority_descriptor: GenFile = /*@__PURE__*/ + fileDesc("Cj5zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2F0dHJpYnV0ZV9hdXRob3JpdHlfZGVzY3JpcHRvci5wcm90bxIZc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MiLSAgocQXR0cmlidXRlQXV0aG9yaXR5RGVzY3JpcHRvchI7CgRiYXNlGAEgASgLMi0uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5Sb2xlRGVzY3JpcHRvclR5cGUSPgoRYXR0cmlidXRlX3NlcnZpY2UYAiADKAsyIy5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkVuZHBvaW50EkkKHGFzc2VydGlvbl9pZF9yZXF1ZXN0X3NlcnZpY2UYAyADKAsyIy5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkVuZHBvaW50EhYKDm5hbWVfaWRfZm9ybWF0GAQgAygJEhkKEWF0dHJpYnV0ZV9wcm9maWxlGAUgAygJEjcKCWF0dHJpYnV0ZRgGIAMoCzIkLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuQXR0cmlidXRlQpQCCh1jb20uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MkIhQXR0cmlidXRlQXV0aG9yaXR5RGVzY3JpcHRvclByb3RvUAFaSWdpdGh1Yi5jb20vc3BsaXRzZWN1cmUvYXBpcy9nZW4vZ28vcHJvdG8vc3BsaXRzZWN1cmUvb2FzaXMvc2FtbC92MjtzYW1sdjKiAgNTT1OqAhlTcGxpdHNlY3VyZS5PYXNpcy5TYW1sLlYyygIZU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMuICJVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjJcR1BCTWV0YWRhdGHqAhxTcGxpdHNlY3VyZTo6T2FzaXM6OlNhbWw6OlYyYgZwcm90bzM", [file_splitsecure_oasis_saml_v2_attribute, file_splitsecure_oasis_saml_v2_endpoint, file_splitsecure_oasis_saml_v2_role_descriptor_type]); + +/** + * AttributeAuthorityDescriptor represents an Attribute Authority descriptor + * + * @generated from message splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor + */ +export type AttributeAuthorityDescriptor = Message<"splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor"> & { + /** + * Base role descriptor fields + * + * @generated from field: splitsecure.oasis.saml.v2.RoleDescriptorType base = 1; + */ + base?: RoleDescriptorType; + + /** + * Required: attribute service endpoints (at least one) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint attribute_service = 2; + */ + attributeService: Endpoint[]; + + /** + * Optional: assertion ID request service endpoints + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint assertion_id_request_service = 3; + */ + assertionIdRequestService: Endpoint[]; + + /** + * Optional: supported name ID formats + * + * @generated from field: repeated string name_id_format = 4; + */ + nameIdFormat: string[]; + + /** + * Optional: supported attribute profiles + * + * @generated from field: repeated string attribute_profile = 5; + */ + attributeProfile: string[]; + + /** + * Optional: supported attributes + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Attribute attribute = 6; + */ + attribute: Attribute[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor. + * Use `create(AttributeAuthorityDescriptorSchema)` to create a new message. + */ +export const AttributeAuthorityDescriptorSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_attribute_authority_descriptor, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/attribute_consuming_service_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/attribute_consuming_service_pb.ts new file mode 100644 index 0000000..827a217 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/attribute_consuming_service_pb.ts @@ -0,0 +1,67 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/attribute_consuming_service.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { LocalizedName } from "./localized_name_pb"; +import { file_splitsecure_oasis_saml_v2_localized_name } from "./localized_name_pb"; +import type { RequestedAttribute } from "./requested_attribute_pb"; +import { file_splitsecure_oasis_saml_v2_requested_attribute } from "./requested_attribute_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/attribute_consuming_service.proto. + */ +export const file_splitsecure_oasis_saml_v2_attribute_consuming_service: GenFile = /*@__PURE__*/ + fileDesc("CjtzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2F0dHJpYnV0ZV9jb25zdW1pbmdfc2VydmljZS5wcm90bxIZc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MiKRAgoZQXR0cmlidXRlQ29uc3VtaW5nU2VydmljZRINCgVpbmRleBgBIAEoDRISCgppc19kZWZhdWx0GAIgASgIEj4KDHNlcnZpY2VfbmFtZRgDIAMoCzIoLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuTG9jYWxpemVkTmFtZRJFChNzZXJ2aWNlX2Rlc2NyaXB0aW9uGAQgAygLMiguc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5Mb2NhbGl6ZWROYW1lEkoKE3JlcXVlc3RlZF9hdHRyaWJ1dGUYBSADKAsyLS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLlJlcXVlc3RlZEF0dHJpYnV0ZUKRAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCHkF0dHJpYnV0ZUNvbnN1bWluZ1NlcnZpY2VQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z", [file_splitsecure_oasis_saml_v2_localized_name, file_splitsecure_oasis_saml_v2_requested_attribute]); + +/** + * AttributeConsumingService describes a service that consumes attributes + * + * @generated from message splitsecure.oasis.saml.v2.AttributeConsumingService + */ +export type AttributeConsumingService = Message<"splitsecure.oasis.saml.v2.AttributeConsumingService"> & { + /** + * Required: index + * + * @generated from field: uint32 index = 1; + */ + index: number; + + /** + * Optional: is default + * + * @generated from field: bool is_default = 2; + */ + isDefault: boolean; + + /** + * Required: service names (at least one, with language tags) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.LocalizedName service_name = 3; + */ + serviceName: LocalizedName[]; + + /** + * Optional: service descriptions (with language tags) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.LocalizedName service_description = 4; + */ + serviceDescription: LocalizedName[]; + + /** + * Required: requested attributes (at least one) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.RequestedAttribute requested_attribute = 5; + */ + requestedAttribute: RequestedAttribute[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.AttributeConsumingService. + * Use `create(AttributeConsumingServiceSchema)` to create a new message. + */ +export const AttributeConsumingServiceSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_attribute_consuming_service, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/attribute_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/attribute_pb.ts new file mode 100644 index 0000000..7ba612e --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/attribute_pb.ts @@ -0,0 +1,56 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/attribute.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/attribute.proto. + */ +export const file_splitsecure_oasis_saml_v2_attribute: GenFile = /*@__PURE__*/ + fileDesc("CilzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2F0dHJpYnV0ZS5wcm90bxIZc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MiJeCglBdHRyaWJ1dGUSDAoEbmFtZRgBIAEoCRITCgtuYW1lX2Zvcm1hdBgCIAEoCRIVCg1mcmllbmRseV9uYW1lGAMgASgJEhcKD2F0dHJpYnV0ZV92YWx1ZRgEIAMoCUKBAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCDkF0dHJpYnV0ZVByb3RvUAFaSWdpdGh1Yi5jb20vc3BsaXRzZWN1cmUvYXBpcy9nZW4vZ28vcHJvdG8vc3BsaXRzZWN1cmUvb2FzaXMvc2FtbC92MjtzYW1sdjKiAgNTT1OqAhlTcGxpdHNlY3VyZS5PYXNpcy5TYW1sLlYyygIZU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMuICJVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjJcR1BCTWV0YWRhdGHqAhxTcGxpdHNlY3VyZTo6T2FzaXM6OlNhbWw6OlYyYgZwcm90bzM"); + +/** + * Attribute represents a SAML attribute + * + * @generated from message splitsecure.oasis.saml.v2.Attribute + */ +export type Attribute = Message<"splitsecure.oasis.saml.v2.Attribute"> & { + /** + * Required: attribute name + * + * @generated from field: string name = 1; + */ + name: string; + + /** + * Optional: name format + * + * @generated from field: string name_format = 2; + */ + nameFormat: string; + + /** + * Optional: friendly name + * + * @generated from field: string friendly_name = 3; + */ + friendlyName: string; + + /** + * Optional: attribute values + * + * @generated from field: repeated string attribute_value = 4; + */ + attributeValue: string[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.Attribute. + * Use `create(AttributeSchema)` to create a new message. + */ +export const AttributeSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_attribute, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor_pb.ts new file mode 100644 index 0000000..ab74c30 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor_pb.ts @@ -0,0 +1,60 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/authn_authority_descriptor.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Endpoint } from "./endpoint_pb"; +import { file_splitsecure_oasis_saml_v2_endpoint } from "./endpoint_pb"; +import type { RoleDescriptorType } from "./role_descriptor_type_pb"; +import { file_splitsecure_oasis_saml_v2_role_descriptor_type } from "./role_descriptor_type_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/authn_authority_descriptor.proto. + */ +export const file_splitsecure_oasis_saml_v2_authn_authority_descriptor: GenFile = /*@__PURE__*/ + fileDesc("CjpzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2F1dGhuX2F1dGhvcml0eV9kZXNjcmlwdG9yLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIvwBChhBdXRobkF1dGhvcml0eURlc2NyaXB0b3ISOwoEYmFzZRgBIAEoCzItLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuUm9sZURlc2NyaXB0b3JUeXBlEkAKE2F1dGhuX3F1ZXJ5X3NlcnZpY2UYAiADKAsyIy5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkVuZHBvaW50EkkKHGFzc2VydGlvbl9pZF9yZXF1ZXN0X3NlcnZpY2UYAyADKAsyIy5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkVuZHBvaW50EhYKDm5hbWVfaWRfZm9ybWF0GAQgAygJQpACCh1jb20uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MkIdQXV0aG5BdXRob3JpdHlEZXNjcmlwdG9yUHJvdG9QAVpJZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyO3NhbWx2MqICA1NPU6oCGVNwbGl0c2VjdXJlLk9hc2lzLlNhbWwuVjLKAhlTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYy4gIlU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMlxHUEJNZXRhZGF0YeoCHFNwbGl0c2VjdXJlOjpPYXNpczo6U2FtbDo6VjJiBnByb3RvMw", [file_splitsecure_oasis_saml_v2_endpoint, file_splitsecure_oasis_saml_v2_role_descriptor_type]); + +/** + * AuthnAuthorityDescriptor represents an Authentication Authority descriptor + * + * @generated from message splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor + */ +export type AuthnAuthorityDescriptor = Message<"splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor"> & { + /** + * Base role descriptor fields + * + * @generated from field: splitsecure.oasis.saml.v2.RoleDescriptorType base = 1; + */ + base?: RoleDescriptorType; + + /** + * Required: authentication query service endpoints (at least one) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint authn_query_service = 2; + */ + authnQueryService: Endpoint[]; + + /** + * Optional: assertion ID request service endpoints + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint assertion_id_request_service = 3; + */ + assertionIdRequestService: Endpoint[]; + + /** + * Optional: supported name ID formats + * + * @generated from field: repeated string name_id_format = 4; + */ + nameIdFormat: string[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor. + * Use `create(AuthnAuthorityDescriptorSchema)` to create a new message. + */ +export const AuthnAuthorityDescriptorSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_authn_authority_descriptor, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/contact_person_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/contact_person_pb.ts new file mode 100644 index 0000000..9458306 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/contact_person_pb.ts @@ -0,0 +1,81 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/contact_person.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { ContactType } from "./contact_type_pb"; +import { file_splitsecure_oasis_saml_v2_contact_type } from "./contact_type_pb"; +import type { Extensions } from "./extensions_pb"; +import { file_splitsecure_oasis_saml_v2_extensions } from "./extensions_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/contact_person.proto. + */ +export const file_splitsecure_oasis_saml_v2_contact_person: GenFile = /*@__PURE__*/ + fileDesc("Ci5zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2NvbnRhY3RfcGVyc29uLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIu8BCg1Db250YWN0UGVyc29uEjwKDGNvbnRhY3RfdHlwZRgBIAEoDjImLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuQ29udGFjdFR5cGUSOQoKZXh0ZW5zaW9ucxgCIAEoCzIlLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuRXh0ZW5zaW9ucxIPCgdjb21wYW55GAMgASgJEhIKCmdpdmVuX25hbWUYBCABKAkSDwoHc3VybmFtZRgFIAEoCRIVCg1lbWFpbF9hZGRyZXNzGAYgAygJEhgKEHRlbGVwaG9uZV9udW1iZXIYByADKAlChQIKHWNvbS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyQhJDb250YWN0UGVyc29uUHJvdG9QAVpJZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyO3NhbWx2MqICA1NPU6oCGVNwbGl0c2VjdXJlLk9hc2lzLlNhbWwuVjLKAhlTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYy4gIlU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMlxHUEJNZXRhZGF0YeoCHFNwbGl0c2VjdXJlOjpPYXNpczo6U2FtbDo6VjJiBnByb3RvMw", [file_splitsecure_oasis_saml_v2_contact_type, file_splitsecure_oasis_saml_v2_extensions]); + +/** + * ContactPerson describes a contact person + * + * @generated from message splitsecure.oasis.saml.v2.ContactPerson + */ +export type ContactPerson = Message<"splitsecure.oasis.saml.v2.ContactPerson"> & { + /** + * Required: contact type + * + * @generated from field: splitsecure.oasis.saml.v2.ContactType contact_type = 1; + */ + contactType: ContactType; + + /** + * Optional: extensions + * + * @generated from field: splitsecure.oasis.saml.v2.Extensions extensions = 2; + */ + extensions?: Extensions; + + /** + * Optional: company + * + * @generated from field: string company = 3; + */ + company: string; + + /** + * Optional: given name + * + * @generated from field: string given_name = 4; + */ + givenName: string; + + /** + * Optional: surname + * + * @generated from field: string surname = 5; + */ + surname: string; + + /** + * Optional: email addresses + * + * @generated from field: repeated string email_address = 6; + */ + emailAddress: string[]; + + /** + * Optional: telephone numbers + * + * @generated from field: repeated string telephone_number = 7; + */ + telephoneNumber: string[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.ContactPerson. + * Use `create(ContactPersonSchema)` to create a new message. + */ +export const ContactPersonSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_contact_person, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/contact_type_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/contact_type_pb.ts new file mode 100644 index 0000000..b2c4d64 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/contact_type_pb.ts @@ -0,0 +1,54 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/contact_type.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2"; +import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2"; + +/** + * Describes the file splitsecure/oasis/saml/v2/contact_type.proto. + */ +export const file_splitsecure_oasis_saml_v2_contact_type: GenFile = /*@__PURE__*/ + fileDesc("CixzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2NvbnRhY3RfdHlwZS5wcm90bxIZc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Miq0AQoLQ29udGFjdFR5cGUSHAoYQ09OVEFDVF9UWVBFX1VOU1BFQ0lGSUVEEAASGgoWQ09OVEFDVF9UWVBFX1RFQ0hOSUNBTBABEhgKFENPTlRBQ1RfVFlQRV9TVVBQT1JUEAISHwobQ09OVEFDVF9UWVBFX0FETUlOSVNUUkFUSVZFEAMSGAoUQ09OVEFDVF9UWVBFX0JJTExJTkcQBBIWChJDT05UQUNUX1RZUEVfT1RIRVIQBUKDAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCEENvbnRhY3RUeXBlUHJvdG9QAVpJZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyO3NhbWx2MqICA1NPU6oCGVNwbGl0c2VjdXJlLk9hc2lzLlNhbWwuVjLKAhlTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYy4gIlU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMlxHUEJNZXRhZGF0YeoCHFNwbGl0c2VjdXJlOjpPYXNpczo6U2FtbDo6VjJiBnByb3RvMw"); + +/** + * @generated from enum splitsecure.oasis.saml.v2.ContactType + */ +export enum ContactType { + /** + * @generated from enum value: CONTACT_TYPE_UNSPECIFIED = 0; + */ + UNSPECIFIED = 0, + + /** + * @generated from enum value: CONTACT_TYPE_TECHNICAL = 1; + */ + TECHNICAL = 1, + + /** + * @generated from enum value: CONTACT_TYPE_SUPPORT = 2; + */ + SUPPORT = 2, + + /** + * @generated from enum value: CONTACT_TYPE_ADMINISTRATIVE = 3; + */ + ADMINISTRATIVE = 3, + + /** + * @generated from enum value: CONTACT_TYPE_BILLING = 4; + */ + BILLING = 4, + + /** + * @generated from enum value: CONTACT_TYPE_OTHER = 5; + */ + OTHER = 5, +} + +/** + * Describes the enum splitsecure.oasis.saml.v2.ContactType. + */ +export const ContactTypeSchema: GenEnum = /*@__PURE__*/ + enumDesc(file_splitsecure_oasis_saml_v2_contact_type, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/encryption_method_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/encryption_method_pb.ts new file mode 100644 index 0000000..b5e5639 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/encryption_method_pb.ts @@ -0,0 +1,49 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/encryption_method.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/encryption_method.proto. + */ +export const file_splitsecure_oasis_saml_v2_encryption_method: GenFile = /*@__PURE__*/ + fileDesc("CjFzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2VuY3J5cHRpb25fbWV0aG9kLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIkwKEEVuY3J5cHRpb25NZXRob2QSEQoJYWxnb3JpdGhtGAEgASgJEhAKCGtleV9zaXplGAIgASgFEhMKC29hZXBfcGFyYW1zGAMgASgMQogCCh1jb20uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MkIVRW5jcnlwdGlvbk1ldGhvZFByb3RvUAFaSWdpdGh1Yi5jb20vc3BsaXRzZWN1cmUvYXBpcy9nZW4vZ28vcHJvdG8vc3BsaXRzZWN1cmUvb2FzaXMvc2FtbC92MjtzYW1sdjKiAgNTT1OqAhlTcGxpdHNlY3VyZS5PYXNpcy5TYW1sLlYyygIZU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMuICJVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjJcR1BCTWV0YWRhdGHqAhxTcGxpdHNlY3VyZTo6T2FzaXM6OlNhbWw6OlYyYgZwcm90bzM"); + +/** + * EncryptionMethod describes an encryption algorithm + * + * @generated from message splitsecure.oasis.saml.v2.EncryptionMethod + */ +export type EncryptionMethod = Message<"splitsecure.oasis.saml.v2.EncryptionMethod"> & { + /** + * Required: algorithm URI + * + * @generated from field: string algorithm = 1; + */ + algorithm: string; + + /** + * Optional: key size + * + * @generated from field: int32 key_size = 2; + */ + keySize: number; + + /** + * Optional: OAEP parameters + * + * @generated from field: bytes oaep_params = 3; + */ + oaepParams: Uint8Array; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.EncryptionMethod. + * Use `create(EncryptionMethodSchema)` to create a new message. + */ +export const EncryptionMethodSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_encryption_method, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/endpoint_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/endpoint_pb.ts new file mode 100644 index 0000000..e0b8860 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/endpoint_pb.ts @@ -0,0 +1,49 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/endpoint.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/endpoint.proto. + */ +export const file_splitsecure_oasis_saml_v2_endpoint: GenFile = /*@__PURE__*/ + fileDesc("CihzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2VuZHBvaW50LnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIkgKCEVuZHBvaW50Eg8KB2JpbmRpbmcYASABKAkSEAoIbG9jYXRpb24YAiABKAkSGQoRcmVzcG9uc2VfbG9jYXRpb24YAyABKAlCgAIKHWNvbS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyQg1FbmRwb2ludFByb3RvUAFaSWdpdGh1Yi5jb20vc3BsaXRzZWN1cmUvYXBpcy9nZW4vZ28vcHJvdG8vc3BsaXRzZWN1cmUvb2FzaXMvc2FtbC92MjtzYW1sdjKiAgNTT1OqAhlTcGxpdHNlY3VyZS5PYXNpcy5TYW1sLlYyygIZU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMuICJVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjJcR1BCTWV0YWRhdGHqAhxTcGxpdHNlY3VyZTo6T2FzaXM6OlNhbWw6OlYyYgZwcm90bzM"); + +/** + * Endpoint represents a SAML endpoint + * + * @generated from message splitsecure.oasis.saml.v2.Endpoint + */ +export type Endpoint = Message<"splitsecure.oasis.saml.v2.Endpoint"> & { + /** + * Required: binding URI + * + * @generated from field: string binding = 1; + */ + binding: string; + + /** + * Required: location URI + * + * @generated from field: string location = 2; + */ + location: string; + + /** + * Optional: response location URI + * + * @generated from field: string response_location = 3; + */ + responseLocation: string; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.Endpoint. + * Use `create(EndpointSchema)` to create a new message. + */ +export const EndpointSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_endpoint, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/entities_descriptor_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/entities_descriptor_pb.ts new file mode 100644 index 0000000..52cf1e9 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/entities_descriptor_pb.ts @@ -0,0 +1,88 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/entities_descriptor.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt"; +import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; +import type { EntityDescriptor } from "./entity_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_entity_descriptor } from "./entity_descriptor_pb"; +import type { Extensions } from "./extensions_pb"; +import { file_splitsecure_oasis_saml_v2_extensions } from "./extensions_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/entities_descriptor.proto. + */ +export const file_splitsecure_oasis_saml_v2_entities_descriptor: GenFile = /*@__PURE__*/ + fileDesc("CjNzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2VudGl0aWVzX2Rlc2NyaXB0b3IucHJvdG8SGXNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIi9AIKEkVudGl0aWVzRGVzY3JpcHRvchIRCglzaWduYXR1cmUYASABKAwSOQoKZXh0ZW5zaW9ucxgCIAEoCzIlLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuRXh0ZW5zaW9ucxJGChFlbnRpdHlfZGVzY3JpcHRvchgDIAMoCzIrLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuRW50aXR5RGVzY3JpcHRvchJKChNlbnRpdGllc19kZXNjcmlwdG9yGAQgAygLMi0uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5FbnRpdGllc0Rlc2NyaXB0b3ISLwoLdmFsaWRfdW50aWwYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjEKDmNhY2hlX2R1cmF0aW9uGAYgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEgwKBG5hbWUYByABKAkSCgoCaWQYCCABKAlCigIKHWNvbS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyQhdFbnRpdGllc0Rlc2NyaXB0b3JQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z", [file_google_protobuf_duration, file_google_protobuf_timestamp, file_splitsecure_oasis_saml_v2_entity_descriptor, file_splitsecure_oasis_saml_v2_extensions]); + +/** + * EntitiesDescriptor represents a collection of entities + * + * @generated from message splitsecure.oasis.saml.v2.EntitiesDescriptor + */ +export type EntitiesDescriptor = Message<"splitsecure.oasis.saml.v2.EntitiesDescriptor"> & { + /** + * Optional: signature over the descriptor + * + * @generated from field: bytes signature = 1; + */ + signature: Uint8Array; + + /** + * Optional: extension elements + * + * @generated from field: splitsecure.oasis.saml.v2.Extensions extensions = 2; + */ + extensions?: Extensions; + + /** + * Child entity or entities descriptors (at least one required) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.EntityDescriptor entity_descriptor = 3; + */ + entityDescriptor: EntityDescriptor[]; + + /** + * @generated from field: repeated splitsecure.oasis.saml.v2.EntitiesDescriptor entities_descriptor = 4; + */ + entitiesDescriptor: EntitiesDescriptor[]; + + /** + * Optional: validity period + * + * @generated from field: google.protobuf.Timestamp valid_until = 5; + */ + validUntil?: Timestamp; + + /** + * Optional: cache duration + * + * @generated from field: google.protobuf.Duration cache_duration = 6; + */ + cacheDuration?: Duration; + + /** + * Optional: name + * + * @generated from field: string name = 7; + */ + name: string; + + /** + * Optional: ID attribute + * + * @generated from field: string id = 8; + */ + id: string; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.EntitiesDescriptor. + * Use `create(EntitiesDescriptorSchema)` to create a new message. + */ +export const EntitiesDescriptorSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_entities_descriptor, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/entity_descriptor_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/entity_descriptor_pb.ts new file mode 100644 index 0000000..3b12eb2 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/entity_descriptor_pb.ts @@ -0,0 +1,147 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/entity_descriptor.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt"; +import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; +import type { AdditionalMetadataLocation } from "./additional_metadata_location_pb"; +import { file_splitsecure_oasis_saml_v2_additional_metadata_location } from "./additional_metadata_location_pb"; +import type { AffiliationDescriptor } from "./affiliation_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_affiliation_descriptor } from "./affiliation_descriptor_pb"; +import type { AttributeAuthorityDescriptor } from "./attribute_authority_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_attribute_authority_descriptor } from "./attribute_authority_descriptor_pb"; +import type { AuthnAuthorityDescriptor } from "./authn_authority_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_authn_authority_descriptor } from "./authn_authority_descriptor_pb"; +import type { ContactPerson } from "./contact_person_pb"; +import { file_splitsecure_oasis_saml_v2_contact_person } from "./contact_person_pb"; +import type { Extensions } from "./extensions_pb"; +import { file_splitsecure_oasis_saml_v2_extensions } from "./extensions_pb"; +import type { IDPSSODescriptor } from "./idp_sso_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_idp_sso_descriptor } from "./idp_sso_descriptor_pb"; +import type { Organization } from "./organization_pb"; +import { file_splitsecure_oasis_saml_v2_organization } from "./organization_pb"; +import type { PDPDescriptor } from "./pdp_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_pdp_descriptor } from "./pdp_descriptor_pb"; +import type { SPSSODescriptor } from "./sp_sso_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_sp_sso_descriptor } from "./sp_sso_descriptor_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/entity_descriptor.proto. + */ +export const file_splitsecure_oasis_saml_v2_entity_descriptor: GenFile = /*@__PURE__*/ + fileDesc("CjFzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2VudGl0eV9kZXNjcmlwdG9yLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIp8HChBFbnRpdHlEZXNjcmlwdG9yEhEKCWVudGl0eV9pZBgBIAEoCRIRCglzaWduYXR1cmUYAiABKAwSOQoKZXh0ZW5zaW9ucxgDIAEoCzIlLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuRXh0ZW5zaW9ucxJHChJpZHBfc3NvX2Rlc2NyaXB0b3IYBCADKAsyKy5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLklEUFNTT0Rlc2NyaXB0b3ISRQoRc3Bfc3NvX2Rlc2NyaXB0b3IYBSADKAsyKi5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLlNQU1NPRGVzY3JpcHRvchJXChphdXRobl9hdXRob3JpdHlfZGVzY3JpcHRvchgGIAMoCzIzLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuQXV0aG5BdXRob3JpdHlEZXNjcmlwdG9yEl8KHmF0dHJpYnV0ZV9hdXRob3JpdHlfZGVzY3JpcHRvchgHIAMoCzI3LnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuQXR0cmlidXRlQXV0aG9yaXR5RGVzY3JpcHRvchJACg5wZHBfZGVzY3JpcHRvchgIIAMoCzIoLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuUERQRGVzY3JpcHRvchJQChZhZmZpbGlhdGlvbl9kZXNjcmlwdG9yGAkgASgLMjAuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5BZmZpbGlhdGlvbkRlc2NyaXB0b3ISPQoMb3JnYW5pemF0aW9uGAogASgLMicuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5Pcmdhbml6YXRpb24SQAoOY29udGFjdF9wZXJzb24YCyADKAsyKC5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkNvbnRhY3RQZXJzb24SWwocYWRkaXRpb25hbF9tZXRhZGF0YV9sb2NhdGlvbhgMIAMoCzI1LnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuQWRkaXRpb25hbE1ldGFkYXRhTG9jYXRpb24SLwoLdmFsaWRfdW50aWwYDSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjEKDmNhY2hlX2R1cmF0aW9uGA4gASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEgoKAmlkGA8gASgJQogCCh1jb20uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MkIVRW50aXR5RGVzY3JpcHRvclByb3RvUAFaSWdpdGh1Yi5jb20vc3BsaXRzZWN1cmUvYXBpcy9nZW4vZ28vcHJvdG8vc3BsaXRzZWN1cmUvb2FzaXMvc2FtbC92MjtzYW1sdjKiAgNTT1OqAhlTcGxpdHNlY3VyZS5PYXNpcy5TYW1sLlYyygIZU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMuICJVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjJcR1BCTWV0YWRhdGHqAhxTcGxpdHNlY3VyZTo6T2FzaXM6OlNhbWw6OlYyYgZwcm90bzM", [file_google_protobuf_duration, file_google_protobuf_timestamp, file_splitsecure_oasis_saml_v2_additional_metadata_location, file_splitsecure_oasis_saml_v2_affiliation_descriptor, file_splitsecure_oasis_saml_v2_attribute_authority_descriptor, file_splitsecure_oasis_saml_v2_authn_authority_descriptor, file_splitsecure_oasis_saml_v2_contact_person, file_splitsecure_oasis_saml_v2_extensions, file_splitsecure_oasis_saml_v2_idp_sso_descriptor, file_splitsecure_oasis_saml_v2_organization, file_splitsecure_oasis_saml_v2_pdp_descriptor, file_splitsecure_oasis_saml_v2_sp_sso_descriptor]); + +/** + * EntityDescriptor represents a SAML entity (IdP or SP) + * + * @generated from message splitsecure.oasis.saml.v2.EntityDescriptor + */ +export type EntityDescriptor = Message<"splitsecure.oasis.saml.v2.EntityDescriptor"> & { + /** + * Required: unique identifier for the entity (max 1024 chars) + * + * @generated from field: string entity_id = 1; + */ + entityId: string; + + /** + * Optional: signature over the descriptor + * + * @generated from field: bytes signature = 2; + */ + signature: Uint8Array; + + /** + * Optional: extension elements + * + * @generated from field: splitsecure.oasis.saml.v2.Extensions extensions = 3; + */ + extensions?: Extensions; + + /** + * Role descriptors - at least one required + * + * @generated from field: repeated splitsecure.oasis.saml.v2.IDPSSODescriptor idp_sso_descriptor = 4; + */ + idpSsoDescriptor: IDPSSODescriptor[]; + + /** + * @generated from field: repeated splitsecure.oasis.saml.v2.SPSSODescriptor sp_sso_descriptor = 5; + */ + spSsoDescriptor: SPSSODescriptor[]; + + /** + * @generated from field: repeated splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor authn_authority_descriptor = 6; + */ + authnAuthorityDescriptor: AuthnAuthorityDescriptor[]; + + /** + * @generated from field: repeated splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor attribute_authority_descriptor = 7; + */ + attributeAuthorityDescriptor: AttributeAuthorityDescriptor[]; + + /** + * @generated from field: repeated splitsecure.oasis.saml.v2.PDPDescriptor pdp_descriptor = 8; + */ + pdpDescriptor: PDPDescriptor[]; + + /** + * Alternative: affiliation descriptor (mutually exclusive with role descriptors) + * + * @generated from field: splitsecure.oasis.saml.v2.AffiliationDescriptor affiliation_descriptor = 9; + */ + affiliationDescriptor?: AffiliationDescriptor; + + /** + * Optional: organization information + * + * @generated from field: splitsecure.oasis.saml.v2.Organization organization = 10; + */ + organization?: Organization; + + /** + * Optional: contact persons + * + * @generated from field: repeated splitsecure.oasis.saml.v2.ContactPerson contact_person = 11; + */ + contactPerson: ContactPerson[]; + + /** + * Optional: additional metadata locations + * + * @generated from field: repeated splitsecure.oasis.saml.v2.AdditionalMetadataLocation additional_metadata_location = 12; + */ + additionalMetadataLocation: AdditionalMetadataLocation[]; + + /** + * Optional: validity period + * + * @generated from field: google.protobuf.Timestamp valid_until = 13; + */ + validUntil?: Timestamp; + + /** + * Optional: cache duration + * + * @generated from field: google.protobuf.Duration cache_duration = 14; + */ + cacheDuration?: Duration; + + /** + * Optional: ID attribute + * + * @generated from field: string id = 15; + */ + id: string; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.EntityDescriptor. + * Use `create(EntityDescriptorSchema)` to create a new message. + */ +export const EntityDescriptorSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_entity_descriptor, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/extension_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/extension_pb.ts new file mode 100644 index 0000000..a3e2935 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/extension_pb.ts @@ -0,0 +1,49 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/extension.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/extension.proto. + */ +export const file_splitsecure_oasis_saml_v2_extension: GenFile = /*@__PURE__*/ + fileDesc("CilzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2V4dGVuc2lvbi5wcm90bxIZc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MiJACglFeHRlbnNpb24SEQoJbmFtZXNwYWNlGAEgASgJEhIKCmxvY2FsX25hbWUYAiABKAkSDAoEZGF0YRgDIAEoDEKBAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCDkV4dGVuc2lvblByb3RvUAFaSWdpdGh1Yi5jb20vc3BsaXRzZWN1cmUvYXBpcy9nZW4vZ28vcHJvdG8vc3BsaXRzZWN1cmUvb2FzaXMvc2FtbC92MjtzYW1sdjKiAgNTT1OqAhlTcGxpdHNlY3VyZS5PYXNpcy5TYW1sLlYyygIZU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMuICJVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjJcR1BCTWV0YWRhdGHqAhxTcGxpdHNlY3VyZTo6T2FzaXM6OlNhbWw6OlYyYgZwcm90bzM"); + +/** + * Extension represents a single extension element + * + * @generated from message splitsecure.oasis.saml.v2.Extension + */ +export type Extension = Message<"splitsecure.oasis.saml.v2.Extension"> & { + /** + * Extension namespace + * + * @generated from field: string namespace = 1; + */ + namespace: string; + + /** + * Extension local name + * + * @generated from field: string local_name = 2; + */ + localName: string; + + /** + * Extension data (raw XML or serialized proto) + * + * @generated from field: bytes data = 3; + */ + data: Uint8Array; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.Extension. + * Use `create(ExtensionSchema)` to create a new message. + */ +export const ExtensionSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_extension, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/extensions_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/extensions_pb.ts new file mode 100644 index 0000000..09c4892 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/extensions_pb.ts @@ -0,0 +1,37 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/extensions.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Extension } from "./extension_pb"; +import { file_splitsecure_oasis_saml_v2_extension } from "./extension_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/extensions.proto. + */ +export const file_splitsecure_oasis_saml_v2_extensions: GenFile = /*@__PURE__*/ + fileDesc("CipzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2V4dGVuc2lvbnMucHJvdG8SGXNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIiRQoKRXh0ZW5zaW9ucxI3CglleHRlbnNpb24YASADKAsyJC5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkV4dGVuc2lvbkKCAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCD0V4dGVuc2lvbnNQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z", [file_splitsecure_oasis_saml_v2_extension]); + +/** + * Extensions represents extension elements + * + * @generated from message splitsecure.oasis.saml.v2.Extensions + */ +export type Extensions = Message<"splitsecure.oasis.saml.v2.Extensions"> & { + /** + * Arbitrary extension data (could be structured or raw XML) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Extension extension = 1; + */ + extension: Extension[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.Extensions. + * Use `create(ExtensionsSchema)` to create a new message. + */ +export const ExtensionsSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_extensions, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor_pb.ts new file mode 100644 index 0000000..4865ca2 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor_pb.ts @@ -0,0 +1,83 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/idp_sso_descriptor.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Attribute } from "./attribute_pb"; +import { file_splitsecure_oasis_saml_v2_attribute } from "./attribute_pb"; +import type { Endpoint } from "./endpoint_pb"; +import { file_splitsecure_oasis_saml_v2_endpoint } from "./endpoint_pb"; +import type { SSODescriptorType } from "./sso_descriptor_type_pb"; +import { file_splitsecure_oasis_saml_v2_sso_descriptor_type } from "./sso_descriptor_type_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/idp_sso_descriptor.proto. + */ +export const file_splitsecure_oasis_saml_v2_idp_sso_descriptor: GenFile = /*@__PURE__*/ + fileDesc("CjJzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2lkcF9zc29fZGVzY3JpcHRvci5wcm90bxIZc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MiKcAwoQSURQU1NPRGVzY3JpcHRvchI6CgRiYXNlGAEgASgLMiwuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5TU09EZXNjcmlwdG9yVHlwZRIiChp3YW50X2F1dGhuX3JlcXVlc3RzX3NpZ25lZBgCIAEoCBJDChZzaW5nbGVfc2lnbl9vbl9zZXJ2aWNlGAMgAygLMiMuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5FbmRwb2ludBJEChduYW1lX2lkX21hcHBpbmdfc2VydmljZRgEIAMoCzIjLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuRW5kcG9pbnQSSQocYXNzZXJ0aW9uX2lkX3JlcXVlc3Rfc2VydmljZRgFIAMoCzIjLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuRW5kcG9pbnQSGQoRYXR0cmlidXRlX3Byb2ZpbGUYBiADKAkSNwoJYXR0cmlidXRlGAcgAygLMiQuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5BdHRyaWJ1dGVCiAIKHWNvbS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyQhVJZHBTc29EZXNjcmlwdG9yUHJvdG9QAVpJZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyO3NhbWx2MqICA1NPU6oCGVNwbGl0c2VjdXJlLk9hc2lzLlNhbWwuVjLKAhlTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYy4gIlU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMlxHUEJNZXRhZGF0YeoCHFNwbGl0c2VjdXJlOjpPYXNpczo6U2FtbDo6VjJiBnByb3RvMw", [file_splitsecure_oasis_saml_v2_attribute, file_splitsecure_oasis_saml_v2_endpoint, file_splitsecure_oasis_saml_v2_sso_descriptor_type]); + +/** + * IDPSSODescriptor represents an Identity Provider SSO descriptor + * + * @generated from message splitsecure.oasis.saml.v2.IDPSSODescriptor + */ +export type IDPSSODescriptor = Message<"splitsecure.oasis.saml.v2.IDPSSODescriptor"> & { + /** + * Base SSO descriptor fields + * + * @generated from field: splitsecure.oasis.saml.v2.SSODescriptorType base = 1; + */ + base?: SSODescriptorType; + + /** + * Optional: whether the IdP wants AuthnRequests to be signed + * + * @generated from field: bool want_authn_requests_signed = 2; + */ + wantAuthnRequestsSigned: boolean; + + /** + * Required: single sign-on service endpoints (at least one) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint single_sign_on_service = 3; + */ + singleSignOnService: Endpoint[]; + + /** + * Optional: name ID mapping service endpoints + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint name_id_mapping_service = 4; + */ + nameIdMappingService: Endpoint[]; + + /** + * Optional: assertion ID request service endpoints + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint assertion_id_request_service = 5; + */ + assertionIdRequestService: Endpoint[]; + + /** + * Optional: supported attribute profiles + * + * @generated from field: repeated string attribute_profile = 6; + */ + attributeProfile: string[]; + + /** + * Optional: supported attributes + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Attribute attribute = 7; + */ + attribute: Attribute[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.IDPSSODescriptor. + * Use `create(IDPSSODescriptorSchema)` to create a new message. + */ +export const IDPSSODescriptorSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_idp_sso_descriptor, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/indexed_endpoint_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/indexed_endpoint_pb.ts new file mode 100644 index 0000000..c61f3d2 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/indexed_endpoint_pb.ts @@ -0,0 +1,51 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/indexed_endpoint.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Endpoint } from "./endpoint_pb"; +import { file_splitsecure_oasis_saml_v2_endpoint } from "./endpoint_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/indexed_endpoint.proto. + */ +export const file_splitsecure_oasis_saml_v2_indexed_endpoint: GenFile = /*@__PURE__*/ + fileDesc("CjBzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2luZGV4ZWRfZW5kcG9pbnQucHJvdG8SGXNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIiZwoPSW5kZXhlZEVuZHBvaW50EjEKBGJhc2UYASABKAsyIy5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkVuZHBvaW50Eg0KBWluZGV4GAIgASgNEhIKCmlzX2RlZmF1bHQYAyABKAhChwIKHWNvbS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyQhRJbmRleGVkRW5kcG9pbnRQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z", [file_splitsecure_oasis_saml_v2_endpoint]); + +/** + * IndexedEndpoint represents an indexed SAML endpoint + * + * @generated from message splitsecure.oasis.saml.v2.IndexedEndpoint + */ +export type IndexedEndpoint = Message<"splitsecure.oasis.saml.v2.IndexedEndpoint"> & { + /** + * Base endpoint fields + * + * @generated from field: splitsecure.oasis.saml.v2.Endpoint base = 1; + */ + base?: Endpoint; + + /** + * Required: index + * + * @generated from field: uint32 index = 2; + */ + index: number; + + /** + * Optional: is default + * + * @generated from field: bool is_default = 3; + */ + isDefault: boolean; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.IndexedEndpoint. + * Use `create(IndexedEndpointSchema)` to create a new message. + */ +export const IndexedEndpointSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_indexed_endpoint, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/key_descriptor_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/key_descriptor_pb.ts new file mode 100644 index 0000000..40e3fa1 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/key_descriptor_pb.ts @@ -0,0 +1,55 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/key_descriptor.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { EncryptionMethod } from "./encryption_method_pb"; +import { file_splitsecure_oasis_saml_v2_encryption_method } from "./encryption_method_pb"; +import type { KeyInfo } from "./key_info_pb"; +import { file_splitsecure_oasis_saml_v2_key_info } from "./key_info_pb"; +import type { KeyType } from "./key_type_pb"; +import { file_splitsecure_oasis_saml_v2_key_type } from "./key_type_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/key_descriptor.proto. + */ +export const file_splitsecure_oasis_saml_v2_key_descriptor: GenFile = /*@__PURE__*/ + fileDesc("Ci5zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2tleV9kZXNjcmlwdG9yLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIr4BCg1LZXlEZXNjcmlwdG9yEi8KA3VzZRgBIAEoDjIiLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuS2V5VHlwZRI0CghrZXlfaW5mbxgCIAEoCzIiLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuS2V5SW5mbxJGChFlbmNyeXB0aW9uX21ldGhvZBgDIAMoCzIrLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuRW5jcnlwdGlvbk1ldGhvZEKFAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCEktleURlc2NyaXB0b3JQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z", [file_splitsecure_oasis_saml_v2_encryption_method, file_splitsecure_oasis_saml_v2_key_info, file_splitsecure_oasis_saml_v2_key_type]); + +/** + * KeyDescriptor describes a cryptographic key + * + * @generated from message splitsecure.oasis.saml.v2.KeyDescriptor + */ +export type KeyDescriptor = Message<"splitsecure.oasis.saml.v2.KeyDescriptor"> & { + /** + * Optional: key use (signing or encryption) + * + * @generated from field: splitsecure.oasis.saml.v2.KeyType use = 1; + */ + use: KeyType; + + /** + * Required: key information (X.509 certificate, etc.) + * + * @generated from field: splitsecure.oasis.saml.v2.KeyInfo key_info = 2; + */ + keyInfo?: KeyInfo; + + /** + * Optional: encryption methods supported + * + * @generated from field: repeated splitsecure.oasis.saml.v2.EncryptionMethod encryption_method = 3; + */ + encryptionMethod: EncryptionMethod[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.KeyDescriptor. + * Use `create(KeyDescriptorSchema)` to create a new message. + */ +export const KeyDescriptorSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_key_descriptor, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/key_info_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/key_info_pb.ts new file mode 100644 index 0000000..5b20436 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/key_info_pb.ts @@ -0,0 +1,49 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/key_info.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/key_info.proto. + */ +export const file_splitsecure_oasis_saml_v2_key_info: GenFile = /*@__PURE__*/ + fileDesc("CihzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2tleV9pbmZvLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIkgKB0tleUluZm8SGAoQeDUwOV9jZXJ0aWZpY2F0ZRgBIAEoDBIQCghrZXlfbmFtZRgCIAEoCRIRCglrZXlfdmFsdWUYAyABKAxC/wEKHWNvbS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyQgxLZXlJbmZvUHJvdG9QAVpJZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyO3NhbWx2MqICA1NPU6oCGVNwbGl0c2VjdXJlLk9hc2lzLlNhbWwuVjLKAhlTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYy4gIlU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMlxHUEJNZXRhZGF0YeoCHFNwbGl0c2VjdXJlOjpPYXNpczo6U2FtbDo6VjJiBnByb3RvMw"); + +/** + * KeyInfo represents key information (simplified from XML dsig) + * + * @generated from message splitsecure.oasis.saml.v2.KeyInfo + */ +export type KeyInfo = Message<"splitsecure.oasis.saml.v2.KeyInfo"> & { + /** + * X.509 certificate data + * + * @generated from field: bytes x509_certificate = 1; + */ + x509Certificate: Uint8Array; + + /** + * Optional: key name + * + * @generated from field: string key_name = 2; + */ + keyName: string; + + /** + * Optional: raw key value + * + * @generated from field: bytes key_value = 3; + */ + keyValue: Uint8Array; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.KeyInfo. + * Use `create(KeyInfoSchema)` to create a new message. + */ +export const KeyInfoSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_key_info, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/key_type_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/key_type_pb.ts new file mode 100644 index 0000000..c967c7d --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/key_type_pb.ts @@ -0,0 +1,39 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/key_type.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2"; +import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2"; + +/** + * Describes the file splitsecure/oasis/saml/v2/key_type.proto. + */ +export const file_splitsecure_oasis_saml_v2_key_type: GenFile = /*@__PURE__*/ + fileDesc("CihzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2tleV90eXBlLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyKlIKB0tleVR5cGUSGAoUS0VZX1RZUEVfVU5TUEVDSUZJRUQQABIUChBLRVlfVFlQRV9TSUdOSU5HEAESFwoTS0VZX1RZUEVfRU5DUllQVElPThACQv8BCh1jb20uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MkIMS2V5VHlwZVByb3RvUAFaSWdpdGh1Yi5jb20vc3BsaXRzZWN1cmUvYXBpcy9nZW4vZ28vcHJvdG8vc3BsaXRzZWN1cmUvb2FzaXMvc2FtbC92MjtzYW1sdjKiAgNTT1OqAhlTcGxpdHNlY3VyZS5PYXNpcy5TYW1sLlYyygIZU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMuICJVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjJcR1BCTWV0YWRhdGHqAhxTcGxpdHNlY3VyZTo6T2FzaXM6OlNhbWw6OlYyYgZwcm90bzM"); + +/** + * @generated from enum splitsecure.oasis.saml.v2.KeyType + */ +export enum KeyType { + /** + * @generated from enum value: KEY_TYPE_UNSPECIFIED = 0; + */ + UNSPECIFIED = 0, + + /** + * @generated from enum value: KEY_TYPE_SIGNING = 1; + */ + SIGNING = 1, + + /** + * @generated from enum value: KEY_TYPE_ENCRYPTION = 2; + */ + ENCRYPTION = 2, +} + +/** + * Describes the enum splitsecure.oasis.saml.v2.KeyType. + */ +export const KeyTypeSchema: GenEnum = /*@__PURE__*/ + enumDesc(file_splitsecure_oasis_saml_v2_key_type, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/localized_name_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/localized_name_pb.ts new file mode 100644 index 0000000..044c592 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/localized_name_pb.ts @@ -0,0 +1,42 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/localized_name.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/localized_name.proto. + */ +export const file_splitsecure_oasis_saml_v2_localized_name: GenFile = /*@__PURE__*/ + fileDesc("Ci5zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2xvY2FsaXplZF9uYW1lLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIiwKDUxvY2FsaXplZE5hbWUSDQoFdmFsdWUYASABKAkSDAoEbGFuZxgCIAEoCUKFAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCEkxvY2FsaXplZE5hbWVQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z"); + +/** + * LocalizedName represents a name with language tag + * + * @generated from message splitsecure.oasis.saml.v2.LocalizedName + */ +export type LocalizedName = Message<"splitsecure.oasis.saml.v2.LocalizedName"> & { + /** + * Required: name value + * + * @generated from field: string value = 1; + */ + value: string; + + /** + * Required: language tag (e.g., "en", "es") + * + * @generated from field: string lang = 2; + */ + lang: string; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.LocalizedName. + * Use `create(LocalizedNameSchema)` to create a new message. + */ +export const LocalizedNameSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_localized_name, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/localized_uri_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/localized_uri_pb.ts new file mode 100644 index 0000000..689bd69 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/localized_uri_pb.ts @@ -0,0 +1,42 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/localized_uri.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/localized_uri.proto. + */ +export const file_splitsecure_oasis_saml_v2_localized_uri: GenFile = /*@__PURE__*/ + fileDesc("Ci1zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL2xvY2FsaXplZF91cmkucHJvdG8SGXNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIiKwoMTG9jYWxpemVkVVJJEg0KBXZhbHVlGAEgASgJEgwKBGxhbmcYAiABKAlChAIKHWNvbS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyQhFMb2NhbGl6ZWRVcmlQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z"); + +/** + * LocalizedURI represents a URI with language tag + * + * @generated from message splitsecure.oasis.saml.v2.LocalizedURI + */ +export type LocalizedURI = Message<"splitsecure.oasis.saml.v2.LocalizedURI"> & { + /** + * Required: URI value + * + * @generated from field: string value = 1; + */ + value: string; + + /** + * Required: language tag (e.g., "en", "es") + * + * @generated from field: string lang = 2; + */ + lang: string; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.LocalizedURI. + * Use `create(LocalizedURISchema)` to create a new message. + */ +export const LocalizedURISchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_localized_uri, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/metadata_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/metadata_pb.ts new file mode 100644 index 0000000..8976407 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/metadata_pb.ts @@ -0,0 +1,43 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/metadata.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { EntityDescriptor } from "./entity_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_entity_descriptor } from "./entity_descriptor_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/metadata.proto. + */ +export const file_splitsecure_oasis_saml_v2_metadata: GenFile = /*@__PURE__*/ + fileDesc("CihzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL21ldGFkYXRhLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIl8KCE1ldGFkYXRhEkgKEWVudGl0eV9kZXNjcmlwdG9yGAEgASgLMisuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5FbnRpdHlEZXNjcmlwdG9ySABCCQoHY29udGVudEKAAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCDU1ldGFkYXRhUHJvdG9QAVpJZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyO3NhbWx2MqICA1NPU6oCGVNwbGl0c2VjdXJlLk9hc2lzLlNhbWwuVjLKAhlTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYy4gIlU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMlxHUEJNZXRhZGF0YeoCHFNwbGl0c2VjdXJlOjpPYXNpczo6U2FtbDo6VjJiBnByb3RvMw", [file_splitsecure_oasis_saml_v2_entity_descriptor]); + +/** + * Metadata is the top-level wrapper for SAML metadata. + * + * @generated from message splitsecure.oasis.saml.v2.Metadata + */ +export type Metadata = Message<"splitsecure.oasis.saml.v2.Metadata"> & { + /** + * @generated from oneof splitsecure.oasis.saml.v2.Metadata.content + */ + content: { + /** + * EntitiesDescriptor entities_descriptor = 2; + * + * @generated from field: splitsecure.oasis.saml.v2.EntityDescriptor entity_descriptor = 1; + */ + value: EntityDescriptor; + case: "entityDescriptor"; + } | { case: undefined; value?: undefined }; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.Metadata. + * Use `create(MetadataSchema)` to create a new message. + */ +export const MetadataSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_metadata, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/organization_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/organization_pb.ts new file mode 100644 index 0000000..7c59681 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/organization_pb.ts @@ -0,0 +1,62 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/organization.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Extensions } from "./extensions_pb"; +import { file_splitsecure_oasis_saml_v2_extensions } from "./extensions_pb"; +import type { LocalizedName } from "./localized_name_pb"; +import { file_splitsecure_oasis_saml_v2_localized_name } from "./localized_name_pb"; +import type { LocalizedURI } from "./localized_uri_pb"; +import { file_splitsecure_oasis_saml_v2_localized_uri } from "./localized_uri_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/organization.proto. + */ +export const file_splitsecure_oasis_saml_v2_organization: GenFile = /*@__PURE__*/ + fileDesc("CixzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL29yZ2FuaXphdGlvbi5wcm90bxIZc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MiKeAgoMT3JnYW5pemF0aW9uEjkKCmV4dGVuc2lvbnMYASABKAsyJS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkV4dGVuc2lvbnMSQwoRb3JnYW5pemF0aW9uX25hbWUYAiADKAsyKC5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkxvY2FsaXplZE5hbWUSSwoZb3JnYW5pemF0aW9uX2Rpc3BsYXlfbmFtZRgDIAMoCzIoLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuTG9jYWxpemVkTmFtZRJBChBvcmdhbml6YXRpb25fdXJsGAQgAygLMicuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5Mb2NhbGl6ZWRVUklChAIKHWNvbS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyQhFPcmdhbml6YXRpb25Qcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z", [file_splitsecure_oasis_saml_v2_extensions, file_splitsecure_oasis_saml_v2_localized_name, file_splitsecure_oasis_saml_v2_localized_uri]); + +/** + * Organization describes an organization + * + * @generated from message splitsecure.oasis.saml.v2.Organization + */ +export type Organization = Message<"splitsecure.oasis.saml.v2.Organization"> & { + /** + * Optional: extensions + * + * @generated from field: splitsecure.oasis.saml.v2.Extensions extensions = 1; + */ + extensions?: Extensions; + + /** + * Required: organization names (at least one, with language tags) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.LocalizedName organization_name = 2; + */ + organizationName: LocalizedName[]; + + /** + * Required: organization display names (at least one, with language tags) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.LocalizedName organization_display_name = 3; + */ + organizationDisplayName: LocalizedName[]; + + /** + * Required: organization URLs (at least one, with language tags) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.LocalizedURI organization_url = 4; + */ + organizationUrl: LocalizedURI[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.Organization. + * Use `create(OrganizationSchema)` to create a new message. + */ +export const OrganizationSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_organization, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/pdp_descriptor_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/pdp_descriptor_pb.ts new file mode 100644 index 0000000..9104564 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/pdp_descriptor_pb.ts @@ -0,0 +1,60 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/pdp_descriptor.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Endpoint } from "./endpoint_pb"; +import { file_splitsecure_oasis_saml_v2_endpoint } from "./endpoint_pb"; +import type { RoleDescriptorType } from "./role_descriptor_type_pb"; +import { file_splitsecure_oasis_saml_v2_role_descriptor_type } from "./role_descriptor_type_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/pdp_descriptor.proto. + */ +export const file_splitsecure_oasis_saml_v2_pdp_descriptor: GenFile = /*@__PURE__*/ + fileDesc("Ci5zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL3BkcF9kZXNjcmlwdG9yLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIusBCg1QRFBEZXNjcmlwdG9yEjsKBGJhc2UYASABKAsyLS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLlJvbGVEZXNjcmlwdG9yVHlwZRI6Cg1hdXRoel9zZXJ2aWNlGAIgAygLMiMuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5FbmRwb2ludBJJChxhc3NlcnRpb25faWRfcmVxdWVzdF9zZXJ2aWNlGAMgAygLMiMuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5FbmRwb2ludBIWCg5uYW1lX2lkX2Zvcm1hdBgEIAMoCUKFAgodY29tLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjJCElBkcERlc2NyaXB0b3JQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z", [file_splitsecure_oasis_saml_v2_endpoint, file_splitsecure_oasis_saml_v2_role_descriptor_type]); + +/** + * PDPDescriptor represents a Policy Decision Point descriptor + * + * @generated from message splitsecure.oasis.saml.v2.PDPDescriptor + */ +export type PDPDescriptor = Message<"splitsecure.oasis.saml.v2.PDPDescriptor"> & { + /** + * Base role descriptor fields + * + * @generated from field: splitsecure.oasis.saml.v2.RoleDescriptorType base = 1; + */ + base?: RoleDescriptorType; + + /** + * Required: authorization service endpoints (at least one) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint authz_service = 2; + */ + authzService: Endpoint[]; + + /** + * Optional: assertion ID request service endpoints + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint assertion_id_request_service = 3; + */ + assertionIdRequestService: Endpoint[]; + + /** + * Optional: supported name ID formats + * + * @generated from field: repeated string name_id_format = 4; + */ + nameIdFormat: string[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.PDPDescriptor. + * Use `create(PDPDescriptorSchema)` to create a new message. + */ +export const PDPDescriptorSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_pdp_descriptor, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/requested_attribute_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/requested_attribute_pb.ts new file mode 100644 index 0000000..28ea042 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/requested_attribute_pb.ts @@ -0,0 +1,44 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/requested_attribute.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Attribute } from "./attribute_pb"; +import { file_splitsecure_oasis_saml_v2_attribute } from "./attribute_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/requested_attribute.proto. + */ +export const file_splitsecure_oasis_saml_v2_requested_attribute: GenFile = /*@__PURE__*/ + fileDesc("CjNzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL3JlcXVlc3RlZF9hdHRyaWJ1dGUucHJvdG8SGXNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIiYgoSUmVxdWVzdGVkQXR0cmlidXRlEjcKCWF0dHJpYnV0ZRgBIAEoCzIkLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuQXR0cmlidXRlEhMKC2lzX3JlcXVpcmVkGAIgASgIQooCCh1jb20uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MkIXUmVxdWVzdGVkQXR0cmlidXRlUHJvdG9QAVpJZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyO3NhbWx2MqICA1NPU6oCGVNwbGl0c2VjdXJlLk9hc2lzLlNhbWwuVjLKAhlTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYy4gIlU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMlxHUEJNZXRhZGF0YeoCHFNwbGl0c2VjdXJlOjpPYXNpczo6U2FtbDo6VjJiBnByb3RvMw", [file_splitsecure_oasis_saml_v2_attribute]); + +/** + * RequestedAttribute describes an attribute requested by a service + * + * @generated from message splitsecure.oasis.saml.v2.RequestedAttribute + */ +export type RequestedAttribute = Message<"splitsecure.oasis.saml.v2.RequestedAttribute"> & { + /** + * Attribute definition + * + * @generated from field: splitsecure.oasis.saml.v2.Attribute attribute = 1; + */ + attribute?: Attribute; + + /** + * Optional: is required + * + * @generated from field: bool is_required = 2; + */ + isRequired: boolean; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.RequestedAttribute. + * Use `create(RequestedAttributeSchema)` to create a new message. + */ +export const RequestedAttributeSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_requested_attribute, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/role_descriptor_type_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/role_descriptor_type_pb.ts new file mode 100644 index 0000000..98657c2 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/role_descriptor_type_pb.ts @@ -0,0 +1,108 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/role_descriptor_type.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt"; +import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; +import type { ContactPerson } from "./contact_person_pb"; +import { file_splitsecure_oasis_saml_v2_contact_person } from "./contact_person_pb"; +import type { Extensions } from "./extensions_pb"; +import { file_splitsecure_oasis_saml_v2_extensions } from "./extensions_pb"; +import type { KeyDescriptor } from "./key_descriptor_pb"; +import { file_splitsecure_oasis_saml_v2_key_descriptor } from "./key_descriptor_pb"; +import type { Organization } from "./organization_pb"; +import { file_splitsecure_oasis_saml_v2_organization } from "./organization_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/role_descriptor_type.proto. + */ +export const file_splitsecure_oasis_saml_v2_role_descriptor_type: GenFile = /*@__PURE__*/ + fileDesc("CjRzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL3JvbGVfZGVzY3JpcHRvcl90eXBlLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIs4DChJSb2xlRGVzY3JpcHRvclR5cGUSEQoJc2lnbmF0dXJlGAEgASgMEjkKCmV4dGVuc2lvbnMYAiABKAsyJS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkV4dGVuc2lvbnMSQAoOa2V5X2Rlc2NyaXB0b3IYAyADKAsyKC5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLktleURlc2NyaXB0b3ISPQoMb3JnYW5pemF0aW9uGAQgASgLMicuc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52Mi5Pcmdhbml6YXRpb24SQAoOY29udGFjdF9wZXJzb24YBSADKAsyKC5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkNvbnRhY3RQZXJzb24SJAoccHJvdG9jb2xfc3VwcG9ydF9lbnVtZXJhdGlvbhgGIAMoCRIRCgllcnJvcl91cmwYByABKAkSLwoLdmFsaWRfdW50aWwYCCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjEKDmNhY2hlX2R1cmF0aW9uGAkgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEgoKAmlkGAogASgJQooCCh1jb20uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MkIXUm9sZURlc2NyaXB0b3JUeXBlUHJvdG9QAVpJZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyO3NhbWx2MqICA1NPU6oCGVNwbGl0c2VjdXJlLk9hc2lzLlNhbWwuVjLKAhlTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYy4gIlU3BsaXRzZWN1cmVcT2FzaXNcU2FtbFxWMlxHUEJNZXRhZGF0YeoCHFNwbGl0c2VjdXJlOjpPYXNpczo6U2FtbDo6VjJiBnByb3RvMw", [file_google_protobuf_duration, file_google_protobuf_timestamp, file_splitsecure_oasis_saml_v2_contact_person, file_splitsecure_oasis_saml_v2_extensions, file_splitsecure_oasis_saml_v2_key_descriptor, file_splitsecure_oasis_saml_v2_organization]); + +/** + * RoleDescriptorType is the base type for all role descriptors + * + * @generated from message splitsecure.oasis.saml.v2.RoleDescriptorType + */ +export type RoleDescriptorType = Message<"splitsecure.oasis.saml.v2.RoleDescriptorType"> & { + /** + * Optional: signature over the descriptor + * + * @generated from field: bytes signature = 1; + */ + signature: Uint8Array; + + /** + * Optional: extension elements + * + * @generated from field: splitsecure.oasis.saml.v2.Extensions extensions = 2; + */ + extensions?: Extensions; + + /** + * Optional: key descriptors + * + * @generated from field: repeated splitsecure.oasis.saml.v2.KeyDescriptor key_descriptor = 3; + */ + keyDescriptor: KeyDescriptor[]; + + /** + * Optional: organization + * + * @generated from field: splitsecure.oasis.saml.v2.Organization organization = 4; + */ + organization?: Organization; + + /** + * Optional: contact persons + * + * @generated from field: repeated splitsecure.oasis.saml.v2.ContactPerson contact_person = 5; + */ + contactPerson: ContactPerson[]; + + /** + * Optional: protocol support enumeration (required, space-separated URIs) + * + * @generated from field: repeated string protocol_support_enumeration = 6; + */ + protocolSupportEnumeration: string[]; + + /** + * Optional: error URL + * + * @generated from field: string error_url = 7; + */ + errorUrl: string; + + /** + * Optional: validity period + * + * @generated from field: google.protobuf.Timestamp valid_until = 8; + */ + validUntil?: Timestamp; + + /** + * Optional: cache duration + * + * @generated from field: google.protobuf.Duration cache_duration = 9; + */ + cacheDuration?: Duration; + + /** + * Optional: ID attribute + * + * @generated from field: string id = 10; + */ + id: string; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.RoleDescriptorType. + * Use `create(RoleDescriptorTypeSchema)` to create a new message. + */ +export const RoleDescriptorTypeSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_role_descriptor_type, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor_pb.ts new file mode 100644 index 0000000..b6211c1 --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor_pb.ts @@ -0,0 +1,69 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/sp_sso_descriptor.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { AttributeConsumingService } from "./attribute_consuming_service_pb"; +import { file_splitsecure_oasis_saml_v2_attribute_consuming_service } from "./attribute_consuming_service_pb"; +import type { IndexedEndpoint } from "./indexed_endpoint_pb"; +import { file_splitsecure_oasis_saml_v2_indexed_endpoint } from "./indexed_endpoint_pb"; +import type { SSODescriptorType } from "./sso_descriptor_type_pb"; +import { file_splitsecure_oasis_saml_v2_sso_descriptor_type } from "./sso_descriptor_type_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/sp_sso_descriptor.proto. + */ +export const file_splitsecure_oasis_saml_v2_sp_sso_descriptor: GenFile = /*@__PURE__*/ + fileDesc("CjFzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL3NwX3Nzb19kZXNjcmlwdG9yLnByb3RvEhlzcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyIrcCCg9TUFNTT0Rlc2NyaXB0b3ISOgoEYmFzZRgBIAEoCzIsLnNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIuU1NPRGVzY3JpcHRvclR5cGUSHQoVYXV0aG5fcmVxdWVzdHNfc2lnbmVkGAIgASgIEh4KFndhbnRfYXNzZXJ0aW9uc19zaWduZWQYAyABKAgSTgoaYXNzZXJ0aW9uX2NvbnN1bWVyX3NlcnZpY2UYBCADKAsyKi5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkluZGV4ZWRFbmRwb2ludBJZChthdHRyaWJ1dGVfY29uc3VtaW5nX3NlcnZpY2UYBSADKAsyNC5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkF0dHJpYnV0ZUNvbnN1bWluZ1NlcnZpY2VChwIKHWNvbS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyQhRTcFNzb0Rlc2NyaXB0b3JQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z", [file_splitsecure_oasis_saml_v2_attribute_consuming_service, file_splitsecure_oasis_saml_v2_indexed_endpoint, file_splitsecure_oasis_saml_v2_sso_descriptor_type]); + +/** + * SPSSODescriptor represents a Service Provider SSO descriptor + * + * @generated from message splitsecure.oasis.saml.v2.SPSSODescriptor + */ +export type SPSSODescriptor = Message<"splitsecure.oasis.saml.v2.SPSSODescriptor"> & { + /** + * Base SSO descriptor fields + * + * @generated from field: splitsecure.oasis.saml.v2.SSODescriptorType base = 1; + */ + base?: SSODescriptorType; + + /** + * Optional: whether the SP signs AuthnRequests + * + * @generated from field: bool authn_requests_signed = 2; + */ + authnRequestsSigned: boolean; + + /** + * Optional: whether the SP wants assertions to be signed + * + * @generated from field: bool want_assertions_signed = 3; + */ + wantAssertionsSigned: boolean; + + /** + * Required: assertion consumer service endpoints (at least one) + * + * @generated from field: repeated splitsecure.oasis.saml.v2.IndexedEndpoint assertion_consumer_service = 4; + */ + assertionConsumerService: IndexedEndpoint[]; + + /** + * Optional: attribute consuming services + * + * @generated from field: repeated splitsecure.oasis.saml.v2.AttributeConsumingService attribute_consuming_service = 5; + */ + attributeConsumingService: AttributeConsumingService[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.SPSSODescriptor. + * Use `create(SPSSODescriptorSchema)` to create a new message. + */ +export const SPSSODescriptorSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_sp_sso_descriptor, 0); + diff --git a/gen/es/proto/splitsecure/oasis/saml/v2/sso_descriptor_type_pb.ts b/gen/es/proto/splitsecure/oasis/saml/v2/sso_descriptor_type_pb.ts new file mode 100644 index 0000000..fad473b --- /dev/null +++ b/gen/es/proto/splitsecure/oasis/saml/v2/sso_descriptor_type_pb.ts @@ -0,0 +1,69 @@ +// @generated by protoc-gen-es v2.10.2 with parameter "target=ts" +// @generated from file splitsecure/oasis/saml/v2/sso_descriptor_type.proto (package splitsecure.oasis.saml.v2, syntax proto3) +/* eslint-disable */ + +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Endpoint } from "./endpoint_pb"; +import { file_splitsecure_oasis_saml_v2_endpoint } from "./endpoint_pb"; +import type { IndexedEndpoint } from "./indexed_endpoint_pb"; +import { file_splitsecure_oasis_saml_v2_indexed_endpoint } from "./indexed_endpoint_pb"; +import type { RoleDescriptorType } from "./role_descriptor_type_pb"; +import { file_splitsecure_oasis_saml_v2_role_descriptor_type } from "./role_descriptor_type_pb"; +import type { Message } from "@bufbuild/protobuf"; + +/** + * Describes the file splitsecure/oasis/saml/v2/sso_descriptor_type.proto. + */ +export const file_splitsecure_oasis_saml_v2_sso_descriptor_type: GenFile = /*@__PURE__*/ + fileDesc("CjNzcGxpdHNlY3VyZS9vYXNpcy9zYW1sL3YyL3Nzb19kZXNjcmlwdG9yX3R5cGUucHJvdG8SGXNwbGl0c2VjdXJlLm9hc2lzLnNhbWwudjIiwgIKEVNTT0Rlc2NyaXB0b3JUeXBlEjsKBGJhc2UYASABKAsyLS5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLlJvbGVEZXNjcmlwdG9yVHlwZRJPChthcnRpZmFjdF9yZXNvbHV0aW9uX3NlcnZpY2UYAiADKAsyKi5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkluZGV4ZWRFbmRwb2ludBJCChVzaW5nbGVfbG9nb3V0X3NlcnZpY2UYAyADKAsyIy5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkVuZHBvaW50EkMKFm1hbmFnZV9uYW1lX2lkX3NlcnZpY2UYBCADKAsyIy5zcGxpdHNlY3VyZS5vYXNpcy5zYW1sLnYyLkVuZHBvaW50EhYKDm5hbWVfaWRfZm9ybWF0GAUgAygJQokCCh1jb20uc3BsaXRzZWN1cmUub2FzaXMuc2FtbC52MkIWU3NvRGVzY3JpcHRvclR5cGVQcm90b1ABWklnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL29hc2lzL3NhbWwvdjI7c2FtbHYyogIDU09TqgIZU3BsaXRzZWN1cmUuT2FzaXMuU2FtbC5WMsoCGVNwbGl0c2VjdXJlXE9hc2lzXFNhbWxcVjLiAiVTcGxpdHNlY3VyZVxPYXNpc1xTYW1sXFYyXEdQQk1ldGFkYXRh6gIcU3BsaXRzZWN1cmU6Ok9hc2lzOjpTYW1sOjpWMmIGcHJvdG8z", [file_splitsecure_oasis_saml_v2_endpoint, file_splitsecure_oasis_saml_v2_indexed_endpoint, file_splitsecure_oasis_saml_v2_role_descriptor_type]); + +/** + * SSODescriptorType is the base type for SSO descriptors + * + * @generated from message splitsecure.oasis.saml.v2.SSODescriptorType + */ +export type SSODescriptorType = Message<"splitsecure.oasis.saml.v2.SSODescriptorType"> & { + /** + * Base role descriptor fields + * + * @generated from field: splitsecure.oasis.saml.v2.RoleDescriptorType base = 1; + */ + base?: RoleDescriptorType; + + /** + * Optional: artifact resolution service endpoints + * + * @generated from field: repeated splitsecure.oasis.saml.v2.IndexedEndpoint artifact_resolution_service = 2; + */ + artifactResolutionService: IndexedEndpoint[]; + + /** + * Optional: single logout service endpoints + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint single_logout_service = 3; + */ + singleLogoutService: Endpoint[]; + + /** + * Optional: manage name ID service endpoints + * + * @generated from field: repeated splitsecure.oasis.saml.v2.Endpoint manage_name_id_service = 4; + */ + manageNameIdService: Endpoint[]; + + /** + * Optional: supported name ID formats + * + * @generated from field: repeated string name_id_format = 5; + */ + nameIdFormat: string[]; +}; + +/** + * Describes the message splitsecure.oasis.saml.v2.SSODescriptorType. + * Use `create(SSODescriptorTypeSchema)` to create a new message. + */ +export const SSODescriptorTypeSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_splitsecure_oasis_saml_v2_sso_descriptor_type, 0); + diff --git a/gen/es/proto/splitsecure/teamresource/v1/base_resource_attributes_pb.ts b/gen/es/proto/splitsecure/teamresource/v1/base_resource_attributes_pb.ts index 9831e7e..1c9eaa5 100644 --- a/gen/es/proto/splitsecure/teamresource/v1/base_resource_attributes_pb.ts +++ b/gen/es/proto/splitsecure/teamresource/v1/base_resource_attributes_pb.ts @@ -14,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file splitsecure/teamresource/v1/base_resource_attributes.proto. */ export const file_splitsecure_teamresource_v1_base_resource_attributes: GenFile = /*@__PURE__*/ - fileDesc("CjpzcGxpdHNlY3VyZS90ZWFtcmVzb3VyY2UvdjEvYmFzZV9yZXNvdXJjZV9hdHRyaWJ1dGVzLnByb3RvEhtzcGxpdHNlY3VyZS50ZWFtcmVzb3VyY2UudjEi5AEKFkJhc2VSZXNvdXJjZUF0dHJpYnV0ZXMSDAoEbmFtZRgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRJMChNub3RpZmljYXRpb25fcG9saWN5GAMgASgOMi8uc3BsaXRzZWN1cmUudGVhbXJlc291cmNlLnYxLk5vdGlmaWNhdGlvblBvbGljeRJECgtzZW5zaXRpdml0eRgEIAEoCzIvLnNwbGl0c2VjdXJlLnRlYW1yZXNvdXJjZS52MS5BY2NvdW50U2Vuc2l0aXZpdHkSEwoLcHJvcG9zYWxfaWQYBSABKAxCoQIKH2NvbS5zcGxpdHNlY3VyZS50ZWFtcmVzb3VyY2UudjFCG0Jhc2VSZXNvdXJjZUF0dHJpYnV0ZXNQcm90b1ABWlNnaXRodWIuY29tL3NwbGl0c2VjdXJlL2FwaXMvZ2VuL2dvL3Byb3RvL3NwbGl0c2VjdXJlL3RlYW1yZXNvdXJjZS92MTt0ZWFtcmVzb3VyY2V2MaICA1NUWKoCG1NwbGl0c2VjdXJlLlRlYW1yZXNvdXJjZS5WMcoCG1NwbGl0c2VjdXJlXFRlYW1yZXNvdXJjZVxWMeICJ1NwbGl0c2VjdXJlXFRlYW1yZXNvdXJjZVxWMVxHUEJNZXRhZGF0YeoCHVNwbGl0c2VjdXJlOjpUZWFtcmVzb3VyY2U6OlYxYgZwcm90bzM", [file_splitsecure_teamresource_v1_account_sensitivity, file_splitsecure_teamresource_v1_notification_policy]); + fileDesc("CjpzcGxpdHNlY3VyZS90ZWFtcmVzb3VyY2UvdjEvYmFzZV9yZXNvdXJjZV9hdHRyaWJ1dGVzLnByb3RvEhtzcGxpdHNlY3VyZS50ZWFtcmVzb3VyY2UudjEihgIKFkJhc2VSZXNvdXJjZUF0dHJpYnV0ZXMSDAoEbmFtZRgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRJMChNub3RpZmljYXRpb25fcG9saWN5GAMgASgOMi8uc3BsaXRzZWN1cmUudGVhbXJlc291cmNlLnYxLk5vdGlmaWNhdGlvblBvbGljeRJECgtzZW5zaXRpdml0eRgEIAEoCzIvLnNwbGl0c2VjdXJlLnRlYW1yZXNvdXJjZS52MS5BY2NvdW50U2Vuc2l0aXZpdHkSEwoLcHJvcG9zYWxfaWQYBSABKAwSIAoYcmVxdWVzdGVkX3BhcmVudF9ub2RlX2lkGAYgASgJQqECCh9jb20uc3BsaXRzZWN1cmUudGVhbXJlc291cmNlLnYxQhtCYXNlUmVzb3VyY2VBdHRyaWJ1dGVzUHJvdG9QAVpTZ2l0aHViLmNvbS9zcGxpdHNlY3VyZS9hcGlzL2dlbi9nby9wcm90by9zcGxpdHNlY3VyZS90ZWFtcmVzb3VyY2UvdjE7dGVhbXJlc291cmNldjGiAgNTVFiqAhtTcGxpdHNlY3VyZS5UZWFtcmVzb3VyY2UuVjHKAhtTcGxpdHNlY3VyZVxUZWFtcmVzb3VyY2VcVjHiAidTcGxpdHNlY3VyZVxUZWFtcmVzb3VyY2VcVjFcR1BCTWV0YWRhdGHqAh1TcGxpdHNlY3VyZTo6VGVhbXJlc291cmNlOjpWMWIGcHJvdG8z", [file_splitsecure_teamresource_v1_account_sensitivity, file_splitsecure_teamresource_v1_notification_policy]); /** * BaseResourceAttributes holds the common metadata shared by all managed resources. @@ -46,6 +46,20 @@ export type BaseResourceAttributes = Message<"splitsecure.teamresource.v1.BaseRe * @generated from field: bytes proposal_id = 5; */ proposalId: Uint8Array; + + /** + * requested_parent_node_id is the vault-tree node the creator asked to file + * this resource under. It rides in the quorum-signed part of a create + * request so approvers and the audit trail see the creator's own placement + * statement; empty requests the root of the resource's vault, which is also + * the persist-time fallback when the requested parent no longer exists. + * This is a birth-time request, not a live pointer: the node can be moved + * afterwards without a new ceremony, and nothing keeps this field in sync + * with the tree. + * + * @generated from field: string requested_parent_node_id = 6; + */ + requestedParentNodeId: string; }; /** diff --git a/gen/go/proto/splitsecure/keys/v1/asymmetric_encryption_spec.pb.go b/gen/go/proto/splitsecure/keys/v1/asymmetric_encryption_spec.pb.go new file mode 100644 index 0000000..0c7060e --- /dev/null +++ b/gen/go/proto/splitsecure/keys/v1/asymmetric_encryption_spec.pb.go @@ -0,0 +1,152 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/keys/v1/asymmetric_encryption_spec.proto + +package keysv1 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AsymmetricEncryptionSpec struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Union: + // + // *AsymmetricEncryptionSpec_Rsa + Union isAsymmetricEncryptionSpec_Union `protobuf_oneof:"union"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AsymmetricEncryptionSpec) Reset() { + *x = AsymmetricEncryptionSpec{} + mi := &file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AsymmetricEncryptionSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsymmetricEncryptionSpec) ProtoMessage() {} + +func (x *AsymmetricEncryptionSpec) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsymmetricEncryptionSpec.ProtoReflect.Descriptor instead. +func (*AsymmetricEncryptionSpec) Descriptor() ([]byte, []int) { + return file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDescGZIP(), []int{0} +} + +func (x *AsymmetricEncryptionSpec) GetUnion() isAsymmetricEncryptionSpec_Union { + if x != nil { + return x.Union + } + return nil +} + +func (x *AsymmetricEncryptionSpec) GetRsa() *RSA { + if x != nil { + if x, ok := x.Union.(*AsymmetricEncryptionSpec_Rsa); ok { + return x.Rsa + } + } + return nil +} + +type isAsymmetricEncryptionSpec_Union interface { + isAsymmetricEncryptionSpec_Union() +} + +type AsymmetricEncryptionSpec_Rsa struct { + Rsa *RSA `protobuf:"bytes,1,opt,name=rsa,proto3,oneof"` +} + +func (*AsymmetricEncryptionSpec_Rsa) isAsymmetricEncryptionSpec_Union() {} + +var File_splitsecure_keys_v1_asymmetric_encryption_spec_proto protoreflect.FileDescriptor + +const file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDesc = "" + + "\n" + + "4splitsecure/keys/v1/asymmetric_encryption_spec.proto\x12\x13splitsecure.keys.v1\x1a\x1dsplitsecure/keys/v1/rsa.proto\"Q\n" + + "\x18AsymmetricEncryptionSpec\x12,\n" + + "\x03rsa\x18\x01 \x01(\v2\x18.splitsecure.keys.v1.RSAH\x00R\x03rsaB\a\n" + + "\x05unionB\xeb\x01\n" + + "\x17com.splitsecure.keys.v1B\x1dAsymmetricEncryptionSpecProtoP\x01ZCgithub.com/splitsecure/apis/gen/go/proto/splitsecure/keys/v1;keysv1\xa2\x02\x03SKX\xaa\x02\x13Splitsecure.Keys.V1\xca\x02\x13Splitsecure\\Keys\\V1\xe2\x02\x1fSplitsecure\\Keys\\V1\\GPBMetadata\xea\x02\x15Splitsecure::Keys::V1b\x06proto3" + +var ( + file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDescOnce sync.Once + file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDescData []byte +) + +func file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDescGZIP() []byte { + file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDescOnce.Do(func() { + file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDesc), len(file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDesc))) + }) + return file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDescData +} + +var file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_goTypes = []any{ + (*AsymmetricEncryptionSpec)(nil), // 0: splitsecure.keys.v1.AsymmetricEncryptionSpec + (*RSA)(nil), // 1: splitsecure.keys.v1.RSA +} +var file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_depIdxs = []int32{ + 1, // 0: splitsecure.keys.v1.AsymmetricEncryptionSpec.rsa:type_name -> splitsecure.keys.v1.RSA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_init() } +func file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_init() { + if File_splitsecure_keys_v1_asymmetric_encryption_spec_proto != nil { + return + } + file_splitsecure_keys_v1_rsa_proto_init() + file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_msgTypes[0].OneofWrappers = []any{ + (*AsymmetricEncryptionSpec_Rsa)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDesc), len(file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_goTypes, + DependencyIndexes: file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_depIdxs, + MessageInfos: file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_msgTypes, + }.Build() + File_splitsecure_keys_v1_asymmetric_encryption_spec_proto = out.File + file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_goTypes = nil + file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/keys/v1/spec.pb.go b/gen/go/proto/splitsecure/keys/v1/spec.pb.go index e7d3e25..93ba03c 100644 --- a/gen/go/proto/splitsecure/keys/v1/spec.pb.go +++ b/gen/go/proto/splitsecure/keys/v1/spec.pb.go @@ -29,6 +29,7 @@ type Spec struct { // *Spec_Signature // *Spec_DiffieHellman // *Spec_KeyEncapsulation + // *Spec_AsymmetricEncryption Union isSpec_Union `protobuf_oneof:"union"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -107,6 +108,15 @@ func (x *Spec) GetKeyEncapsulation() *KeyEncapsulationSpec { return nil } +func (x *Spec) GetAsymmetricEncryption() *AsymmetricEncryptionSpec { + if x != nil { + if x, ok := x.Union.(*Spec_AsymmetricEncryption); ok { + return x.AsymmetricEncryption + } + } + return nil +} + type isSpec_Union interface { isSpec_Union() } @@ -127,6 +137,10 @@ type Spec_KeyEncapsulation struct { KeyEncapsulation *KeyEncapsulationSpec `protobuf:"bytes,4,opt,name=key_encapsulation,json=keyEncapsulation,proto3,oneof"` } +type Spec_AsymmetricEncryption struct { + AsymmetricEncryption *AsymmetricEncryptionSpec `protobuf:"bytes,5,opt,name=asymmetric_encryption,json=asymmetricEncryption,proto3,oneof"` +} + func (*Spec_SymmetricEncryption) isSpec_Union() {} func (*Spec_Signature) isSpec_Union() {} @@ -135,16 +149,19 @@ func (*Spec_DiffieHellman) isSpec_Union() {} func (*Spec_KeyEncapsulation) isSpec_Union() {} +func (*Spec_AsymmetricEncryption) isSpec_Union() {} + var File_splitsecure_keys_v1_spec_proto protoreflect.FileDescriptor const file_splitsecure_keys_v1_spec_proto_rawDesc = "" + "\n" + - "\x1esplitsecure/keys/v1/spec.proto\x12\x13splitsecure.keys.v1\x1a-splitsecure/keys/v1/diffie_hellman_spec.proto\x1a0splitsecure/keys/v1/key_encapsulation_spec.proto\x1a(splitsecure/keys/v1/signature_spec.proto\x1a3splitsecure/keys/v1/symmetric_encryption_spec.proto\"\xe1\x02\n" + + "\x1esplitsecure/keys/v1/spec.proto\x12\x13splitsecure.keys.v1\x1a4splitsecure/keys/v1/asymmetric_encryption_spec.proto\x1a-splitsecure/keys/v1/diffie_hellman_spec.proto\x1a0splitsecure/keys/v1/key_encapsulation_spec.proto\x1a(splitsecure/keys/v1/signature_spec.proto\x1a3splitsecure/keys/v1/symmetric_encryption_spec.proto\"\xc7\x03\n" + "\x04Spec\x12a\n" + "\x14symmetric_encryption\x18\x01 \x01(\v2,.splitsecure.keys.v1.SymmetricEncryptionSpecH\x00R\x13symmetricEncryption\x12B\n" + "\tsignature\x18\x02 \x01(\v2\".splitsecure.keys.v1.SignatureSpecH\x00R\tsignature\x12O\n" + "\x0ediffie_hellman\x18\x03 \x01(\v2&.splitsecure.keys.v1.DiffieHellmanSpecH\x00R\rdiffieHellman\x12X\n" + - "\x11key_encapsulation\x18\x04 \x01(\v2).splitsecure.keys.v1.KeyEncapsulationSpecH\x00R\x10keyEncapsulationB\a\n" + + "\x11key_encapsulation\x18\x04 \x01(\v2).splitsecure.keys.v1.KeyEncapsulationSpecH\x00R\x10keyEncapsulation\x12d\n" + + "\x15asymmetric_encryption\x18\x05 \x01(\v2-.splitsecure.keys.v1.AsymmetricEncryptionSpecH\x00R\x14asymmetricEncryptionB\a\n" + "\x05unionB\xd7\x01\n" + "\x17com.splitsecure.keys.v1B\tSpecProtoP\x01ZCgithub.com/splitsecure/apis/gen/go/proto/splitsecure/keys/v1;keysv1\xa2\x02\x03SKX\xaa\x02\x13Splitsecure.Keys.V1\xca\x02\x13Splitsecure\\Keys\\V1\xe2\x02\x1fSplitsecure\\Keys\\V1\\GPBMetadata\xea\x02\x15Splitsecure::Keys::V1b\x06proto3" @@ -162,22 +179,24 @@ func file_splitsecure_keys_v1_spec_proto_rawDescGZIP() []byte { var file_splitsecure_keys_v1_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_splitsecure_keys_v1_spec_proto_goTypes = []any{ - (*Spec)(nil), // 0: splitsecure.keys.v1.Spec - (*SymmetricEncryptionSpec)(nil), // 1: splitsecure.keys.v1.SymmetricEncryptionSpec - (*SignatureSpec)(nil), // 2: splitsecure.keys.v1.SignatureSpec - (*DiffieHellmanSpec)(nil), // 3: splitsecure.keys.v1.DiffieHellmanSpec - (*KeyEncapsulationSpec)(nil), // 4: splitsecure.keys.v1.KeyEncapsulationSpec + (*Spec)(nil), // 0: splitsecure.keys.v1.Spec + (*SymmetricEncryptionSpec)(nil), // 1: splitsecure.keys.v1.SymmetricEncryptionSpec + (*SignatureSpec)(nil), // 2: splitsecure.keys.v1.SignatureSpec + (*DiffieHellmanSpec)(nil), // 3: splitsecure.keys.v1.DiffieHellmanSpec + (*KeyEncapsulationSpec)(nil), // 4: splitsecure.keys.v1.KeyEncapsulationSpec + (*AsymmetricEncryptionSpec)(nil), // 5: splitsecure.keys.v1.AsymmetricEncryptionSpec } var file_splitsecure_keys_v1_spec_proto_depIdxs = []int32{ 1, // 0: splitsecure.keys.v1.Spec.symmetric_encryption:type_name -> splitsecure.keys.v1.SymmetricEncryptionSpec 2, // 1: splitsecure.keys.v1.Spec.signature:type_name -> splitsecure.keys.v1.SignatureSpec 3, // 2: splitsecure.keys.v1.Spec.diffie_hellman:type_name -> splitsecure.keys.v1.DiffieHellmanSpec 4, // 3: splitsecure.keys.v1.Spec.key_encapsulation:type_name -> splitsecure.keys.v1.KeyEncapsulationSpec - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name + 5, // 4: splitsecure.keys.v1.Spec.asymmetric_encryption:type_name -> splitsecure.keys.v1.AsymmetricEncryptionSpec + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name } func init() { file_splitsecure_keys_v1_spec_proto_init() } @@ -185,6 +204,7 @@ func file_splitsecure_keys_v1_spec_proto_init() { if File_splitsecure_keys_v1_spec_proto != nil { return } + file_splitsecure_keys_v1_asymmetric_encryption_spec_proto_init() file_splitsecure_keys_v1_diffie_hellman_spec_proto_init() file_splitsecure_keys_v1_key_encapsulation_spec_proto_init() file_splitsecure_keys_v1_signature_spec_proto_init() @@ -194,6 +214,7 @@ func file_splitsecure_keys_v1_spec_proto_init() { (*Spec_Signature)(nil), (*Spec_DiffieHellman)(nil), (*Spec_KeyEncapsulation)(nil), + (*Spec_AsymmetricEncryption)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/additional_metadata_location.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/additional_metadata_location.pb.go new file mode 100644 index 0000000..f780671 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/additional_metadata_location.pb.go @@ -0,0 +1,135 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/additional_metadata_location.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// AdditionalMetadataLocation points to additional metadata +type AdditionalMetadataLocation struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required: namespace + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Required: location URI + Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AdditionalMetadataLocation) Reset() { + *x = AdditionalMetadataLocation{} + mi := &file_splitsecure_oasis_saml_v2_additional_metadata_location_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AdditionalMetadataLocation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AdditionalMetadataLocation) ProtoMessage() {} + +func (x *AdditionalMetadataLocation) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_additional_metadata_location_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AdditionalMetadataLocation.ProtoReflect.Descriptor instead. +func (*AdditionalMetadataLocation) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_additional_metadata_location_proto_rawDescGZIP(), []int{0} +} + +func (x *AdditionalMetadataLocation) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + +func (x *AdditionalMetadataLocation) GetLocation() string { + if x != nil { + return x.Location + } + return "" +} + +var File_splitsecure_oasis_saml_v2_additional_metadata_location_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_additional_metadata_location_proto_rawDesc = "" + + "\n" + + " splitsecure.oasis.saml.v2.Extensions + 2, // 1: splitsecure.oasis.saml.v2.AffiliationDescriptor.key_descriptor:type_name -> splitsecure.oasis.saml.v2.KeyDescriptor + 3, // 2: splitsecure.oasis.saml.v2.AffiliationDescriptor.valid_until:type_name -> google.protobuf.Timestamp + 4, // 3: splitsecure.oasis.saml.v2.AffiliationDescriptor.cache_duration:type_name -> google.protobuf.Duration + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_init() } +func file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_init() { + if File_splitsecure_oasis_saml_v2_affiliation_descriptor_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_extensions_proto_init() + file_splitsecure_oasis_saml_v2_key_descriptor_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_affiliation_descriptor_proto = out.File + file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/attribute.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/attribute.pb.go new file mode 100644 index 0000000..bd2e286 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/attribute.pb.go @@ -0,0 +1,156 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/attribute.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Attribute represents a SAML attribute +type Attribute struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required: attribute name + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional: name format + NameFormat string `protobuf:"bytes,2,opt,name=name_format,json=nameFormat,proto3" json:"name_format,omitempty"` + // Optional: friendly name + FriendlyName string `protobuf:"bytes,3,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` + // Optional: attribute values + AttributeValue []string `protobuf:"bytes,4,rep,name=attribute_value,json=attributeValue,proto3" json:"attribute_value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Attribute) Reset() { + *x = Attribute{} + mi := &file_splitsecure_oasis_saml_v2_attribute_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Attribute) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Attribute) ProtoMessage() {} + +func (x *Attribute) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_attribute_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Attribute.ProtoReflect.Descriptor instead. +func (*Attribute) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_attribute_proto_rawDescGZIP(), []int{0} +} + +func (x *Attribute) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Attribute) GetNameFormat() string { + if x != nil { + return x.NameFormat + } + return "" +} + +func (x *Attribute) GetFriendlyName() string { + if x != nil { + return x.FriendlyName + } + return "" +} + +func (x *Attribute) GetAttributeValue() []string { + if x != nil { + return x.AttributeValue + } + return nil +} + +var File_splitsecure_oasis_saml_v2_attribute_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_attribute_proto_rawDesc = "" + + "\n" + + ")splitsecure/oasis/saml/v2/attribute.proto\x12\x19splitsecure.oasis.saml.v2\"\x8e\x01\n" + + "\tAttribute\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n" + + "\vname_format\x18\x02 \x01(\tR\n" + + "nameFormat\x12#\n" + + "\rfriendly_name\x18\x03 \x01(\tR\ffriendlyName\x12'\n" + + "\x0fattribute_value\x18\x04 \x03(\tR\x0eattributeValueB\x81\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x0eAttributeProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_attribute_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_attribute_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_attribute_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_attribute_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_attribute_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_attribute_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_attribute_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_attribute_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_attribute_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_attribute_proto_goTypes = []any{ + (*Attribute)(nil), // 0: splitsecure.oasis.saml.v2.Attribute +} +var file_splitsecure_oasis_saml_v2_attribute_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_attribute_proto_init() } +func file_splitsecure_oasis_saml_v2_attribute_proto_init() { + if File_splitsecure_oasis_saml_v2_attribute_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_attribute_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_attribute_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_attribute_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_attribute_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_attribute_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_attribute_proto = out.File + file_splitsecure_oasis_saml_v2_attribute_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_attribute_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor.pb.go new file mode 100644 index 0000000..b25be90 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor.pb.go @@ -0,0 +1,185 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/attribute_authority_descriptor.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// AttributeAuthorityDescriptor represents an Attribute Authority descriptor +type AttributeAuthorityDescriptor struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Base role descriptor fields + Base *RoleDescriptorType `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + // Required: attribute service endpoints (at least one) + AttributeService []*Endpoint `protobuf:"bytes,2,rep,name=attribute_service,json=attributeService,proto3" json:"attribute_service,omitempty"` + // Optional: assertion ID request service endpoints + AssertionIdRequestService []*Endpoint `protobuf:"bytes,3,rep,name=assertion_id_request_service,json=assertionIdRequestService,proto3" json:"assertion_id_request_service,omitempty"` + // Optional: supported name ID formats + NameIdFormat []string `protobuf:"bytes,4,rep,name=name_id_format,json=nameIdFormat,proto3" json:"name_id_format,omitempty"` + // Optional: supported attribute profiles + AttributeProfile []string `protobuf:"bytes,5,rep,name=attribute_profile,json=attributeProfile,proto3" json:"attribute_profile,omitempty"` + // Optional: supported attributes + Attribute []*Attribute `protobuf:"bytes,6,rep,name=attribute,proto3" json:"attribute,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AttributeAuthorityDescriptor) Reset() { + *x = AttributeAuthorityDescriptor{} + mi := &file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AttributeAuthorityDescriptor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AttributeAuthorityDescriptor) ProtoMessage() {} + +func (x *AttributeAuthorityDescriptor) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AttributeAuthorityDescriptor.ProtoReflect.Descriptor instead. +func (*AttributeAuthorityDescriptor) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDescGZIP(), []int{0} +} + +func (x *AttributeAuthorityDescriptor) GetBase() *RoleDescriptorType { + if x != nil { + return x.Base + } + return nil +} + +func (x *AttributeAuthorityDescriptor) GetAttributeService() []*Endpoint { + if x != nil { + return x.AttributeService + } + return nil +} + +func (x *AttributeAuthorityDescriptor) GetAssertionIdRequestService() []*Endpoint { + if x != nil { + return x.AssertionIdRequestService + } + return nil +} + +func (x *AttributeAuthorityDescriptor) GetNameIdFormat() []string { + if x != nil { + return x.NameIdFormat + } + return nil +} + +func (x *AttributeAuthorityDescriptor) GetAttributeProfile() []string { + if x != nil { + return x.AttributeProfile + } + return nil +} + +func (x *AttributeAuthorityDescriptor) GetAttribute() []*Attribute { + if x != nil { + return x.Attribute + } + return nil +} + +var File_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDesc = "" + + "\n" + + ">splitsecure/oasis/saml/v2/attribute_authority_descriptor.proto\x12\x19splitsecure.oasis.saml.v2\x1a)splitsecure/oasis/saml/v2/attribute.proto\x1a(splitsecure/oasis/saml/v2/endpoint.proto\x1a4splitsecure/oasis/saml/v2/role_descriptor_type.proto\"\xb0\x03\n" + + "\x1cAttributeAuthorityDescriptor\x12A\n" + + "\x04base\x18\x01 \x01(\v2-.splitsecure.oasis.saml.v2.RoleDescriptorTypeR\x04base\x12P\n" + + "\x11attribute_service\x18\x02 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x10attributeService\x12d\n" + + "\x1cassertion_id_request_service\x18\x03 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x19assertionIdRequestService\x12$\n" + + "\x0ename_id_format\x18\x04 \x03(\tR\fnameIdFormat\x12+\n" + + "\x11attribute_profile\x18\x05 \x03(\tR\x10attributeProfile\x12B\n" + + "\tattribute\x18\x06 \x03(\v2$.splitsecure.oasis.saml.v2.AttributeR\tattributeB\x94\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B!AttributeAuthorityDescriptorProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_goTypes = []any{ + (*AttributeAuthorityDescriptor)(nil), // 0: splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor + (*RoleDescriptorType)(nil), // 1: splitsecure.oasis.saml.v2.RoleDescriptorType + (*Endpoint)(nil), // 2: splitsecure.oasis.saml.v2.Endpoint + (*Attribute)(nil), // 3: splitsecure.oasis.saml.v2.Attribute +} +var file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor.base:type_name -> splitsecure.oasis.saml.v2.RoleDescriptorType + 2, // 1: splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor.attribute_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 2, // 2: splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor.assertion_id_request_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 3, // 3: splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor.attribute:type_name -> splitsecure.oasis.saml.v2.Attribute + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_init() } +func file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_init() { + if File_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_attribute_proto_init() + file_splitsecure_oasis_saml_v2_endpoint_proto_init() + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto = out.File + file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/attribute_consuming_service.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/attribute_consuming_service.pb.go new file mode 100644 index 0000000..03b71e6 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/attribute_consuming_service.pb.go @@ -0,0 +1,173 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/attribute_consuming_service.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// AttributeConsumingService describes a service that consumes attributes +type AttributeConsumingService struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required: index + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + // Optional: is default + IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` + // Required: service names (at least one, with language tags) + ServiceName []*LocalizedName `protobuf:"bytes,3,rep,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + // Optional: service descriptions (with language tags) + ServiceDescription []*LocalizedName `protobuf:"bytes,4,rep,name=service_description,json=serviceDescription,proto3" json:"service_description,omitempty"` + // Required: requested attributes (at least one) + RequestedAttribute []*RequestedAttribute `protobuf:"bytes,5,rep,name=requested_attribute,json=requestedAttribute,proto3" json:"requested_attribute,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AttributeConsumingService) Reset() { + *x = AttributeConsumingService{} + mi := &file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AttributeConsumingService) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AttributeConsumingService) ProtoMessage() {} + +func (x *AttributeConsumingService) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AttributeConsumingService.ProtoReflect.Descriptor instead. +func (*AttributeConsumingService) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDescGZIP(), []int{0} +} + +func (x *AttributeConsumingService) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *AttributeConsumingService) GetIsDefault() bool { + if x != nil { + return x.IsDefault + } + return false +} + +func (x *AttributeConsumingService) GetServiceName() []*LocalizedName { + if x != nil { + return x.ServiceName + } + return nil +} + +func (x *AttributeConsumingService) GetServiceDescription() []*LocalizedName { + if x != nil { + return x.ServiceDescription + } + return nil +} + +func (x *AttributeConsumingService) GetRequestedAttribute() []*RequestedAttribute { + if x != nil { + return x.RequestedAttribute + } + return nil +} + +var File_splitsecure_oasis_saml_v2_attribute_consuming_service_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDesc = "" + + "\n" + + ";splitsecure/oasis/saml/v2/attribute_consuming_service.proto\x12\x19splitsecure.oasis.saml.v2\x1a.splitsecure/oasis/saml/v2/localized_name.proto\x1a3splitsecure/oasis/saml/v2/requested_attribute.proto\"\xd8\x02\n" + + "\x19AttributeConsumingService\x12\x14\n" + + "\x05index\x18\x01 \x01(\rR\x05index\x12\x1d\n" + + "\n" + + "is_default\x18\x02 \x01(\bR\tisDefault\x12K\n" + + "\fservice_name\x18\x03 \x03(\v2(.splitsecure.oasis.saml.v2.LocalizedNameR\vserviceName\x12Y\n" + + "\x13service_description\x18\x04 \x03(\v2(.splitsecure.oasis.saml.v2.LocalizedNameR\x12serviceDescription\x12^\n" + + "\x13requested_attribute\x18\x05 \x03(\v2-.splitsecure.oasis.saml.v2.RequestedAttributeR\x12requestedAttributeB\x91\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x1eAttributeConsumingServiceProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_goTypes = []any{ + (*AttributeConsumingService)(nil), // 0: splitsecure.oasis.saml.v2.AttributeConsumingService + (*LocalizedName)(nil), // 1: splitsecure.oasis.saml.v2.LocalizedName + (*RequestedAttribute)(nil), // 2: splitsecure.oasis.saml.v2.RequestedAttribute +} +var file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.AttributeConsumingService.service_name:type_name -> splitsecure.oasis.saml.v2.LocalizedName + 1, // 1: splitsecure.oasis.saml.v2.AttributeConsumingService.service_description:type_name -> splitsecure.oasis.saml.v2.LocalizedName + 2, // 2: splitsecure.oasis.saml.v2.AttributeConsumingService.requested_attribute:type_name -> splitsecure.oasis.saml.v2.RequestedAttribute + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_init() } +func file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_init() { + if File_splitsecure_oasis_saml_v2_attribute_consuming_service_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_localized_name_proto_init() + file_splitsecure_oasis_saml_v2_requested_attribute_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_attribute_consuming_service_proto = out.File + file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor.pb.go new file mode 100644 index 0000000..abe26db --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor.pb.go @@ -0,0 +1,162 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/authn_authority_descriptor.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// AuthnAuthorityDescriptor represents an Authentication Authority descriptor +type AuthnAuthorityDescriptor struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Base role descriptor fields + Base *RoleDescriptorType `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + // Required: authentication query service endpoints (at least one) + AuthnQueryService []*Endpoint `protobuf:"bytes,2,rep,name=authn_query_service,json=authnQueryService,proto3" json:"authn_query_service,omitempty"` + // Optional: assertion ID request service endpoints + AssertionIdRequestService []*Endpoint `protobuf:"bytes,3,rep,name=assertion_id_request_service,json=assertionIdRequestService,proto3" json:"assertion_id_request_service,omitempty"` + // Optional: supported name ID formats + NameIdFormat []string `protobuf:"bytes,4,rep,name=name_id_format,json=nameIdFormat,proto3" json:"name_id_format,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AuthnAuthorityDescriptor) Reset() { + *x = AuthnAuthorityDescriptor{} + mi := &file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AuthnAuthorityDescriptor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AuthnAuthorityDescriptor) ProtoMessage() {} + +func (x *AuthnAuthorityDescriptor) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AuthnAuthorityDescriptor.ProtoReflect.Descriptor instead. +func (*AuthnAuthorityDescriptor) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDescGZIP(), []int{0} +} + +func (x *AuthnAuthorityDescriptor) GetBase() *RoleDescriptorType { + if x != nil { + return x.Base + } + return nil +} + +func (x *AuthnAuthorityDescriptor) GetAuthnQueryService() []*Endpoint { + if x != nil { + return x.AuthnQueryService + } + return nil +} + +func (x *AuthnAuthorityDescriptor) GetAssertionIdRequestService() []*Endpoint { + if x != nil { + return x.AssertionIdRequestService + } + return nil +} + +func (x *AuthnAuthorityDescriptor) GetNameIdFormat() []string { + if x != nil { + return x.NameIdFormat + } + return nil +} + +var File_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDesc = "" + + "\n" + + ":splitsecure/oasis/saml/v2/authn_authority_descriptor.proto\x12\x19splitsecure.oasis.saml.v2\x1a(splitsecure/oasis/saml/v2/endpoint.proto\x1a4splitsecure/oasis/saml/v2/role_descriptor_type.proto\"\xbe\x02\n" + + "\x18AuthnAuthorityDescriptor\x12A\n" + + "\x04base\x18\x01 \x01(\v2-.splitsecure.oasis.saml.v2.RoleDescriptorTypeR\x04base\x12S\n" + + "\x13authn_query_service\x18\x02 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x11authnQueryService\x12d\n" + + "\x1cassertion_id_request_service\x18\x03 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x19assertionIdRequestService\x12$\n" + + "\x0ename_id_format\x18\x04 \x03(\tR\fnameIdFormatB\x90\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x1dAuthnAuthorityDescriptorProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_goTypes = []any{ + (*AuthnAuthorityDescriptor)(nil), // 0: splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor + (*RoleDescriptorType)(nil), // 1: splitsecure.oasis.saml.v2.RoleDescriptorType + (*Endpoint)(nil), // 2: splitsecure.oasis.saml.v2.Endpoint +} +var file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor.base:type_name -> splitsecure.oasis.saml.v2.RoleDescriptorType + 2, // 1: splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor.authn_query_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 2, // 2: splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor.assertion_id_request_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_init() } +func file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_init() { + if File_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_endpoint_proto_init() + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto = out.File + file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/contact_person.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/contact_person.pb.go new file mode 100644 index 0000000..52e2818 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/contact_person.pb.go @@ -0,0 +1,194 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/contact_person.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// ContactPerson describes a contact person +type ContactPerson struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required: contact type + ContactType ContactType `protobuf:"varint,1,opt,name=contact_type,json=contactType,proto3,enum=splitsecure.oasis.saml.v2.ContactType" json:"contact_type,omitempty"` + // Optional: extensions + Extensions *Extensions `protobuf:"bytes,2,opt,name=extensions,proto3" json:"extensions,omitempty"` + // Optional: company + Company string `protobuf:"bytes,3,opt,name=company,proto3" json:"company,omitempty"` + // Optional: given name + GivenName string `protobuf:"bytes,4,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"` + // Optional: surname + Surname string `protobuf:"bytes,5,opt,name=surname,proto3" json:"surname,omitempty"` + // Optional: email addresses + EmailAddress []string `protobuf:"bytes,6,rep,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` + // Optional: telephone numbers + TelephoneNumber []string `protobuf:"bytes,7,rep,name=telephone_number,json=telephoneNumber,proto3" json:"telephone_number,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ContactPerson) Reset() { + *x = ContactPerson{} + mi := &file_splitsecure_oasis_saml_v2_contact_person_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ContactPerson) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContactPerson) ProtoMessage() {} + +func (x *ContactPerson) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_contact_person_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContactPerson.ProtoReflect.Descriptor instead. +func (*ContactPerson) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_contact_person_proto_rawDescGZIP(), []int{0} +} + +func (x *ContactPerson) GetContactType() ContactType { + if x != nil { + return x.ContactType + } + return ContactType_CONTACT_TYPE_UNSPECIFIED +} + +func (x *ContactPerson) GetExtensions() *Extensions { + if x != nil { + return x.Extensions + } + return nil +} + +func (x *ContactPerson) GetCompany() string { + if x != nil { + return x.Company + } + return "" +} + +func (x *ContactPerson) GetGivenName() string { + if x != nil { + return x.GivenName + } + return "" +} + +func (x *ContactPerson) GetSurname() string { + if x != nil { + return x.Surname + } + return "" +} + +func (x *ContactPerson) GetEmailAddress() []string { + if x != nil { + return x.EmailAddress + } + return nil +} + +func (x *ContactPerson) GetTelephoneNumber() []string { + if x != nil { + return x.TelephoneNumber + } + return nil +} + +var File_splitsecure_oasis_saml_v2_contact_person_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_contact_person_proto_rawDesc = "" + + "\n" + + ".splitsecure/oasis/saml/v2/contact_person.proto\x12\x19splitsecure.oasis.saml.v2\x1a,splitsecure/oasis/saml/v2/contact_type.proto\x1a*splitsecure/oasis/saml/v2/extensions.proto\"\xc4\x02\n" + + "\rContactPerson\x12I\n" + + "\fcontact_type\x18\x01 \x01(\x0e2&.splitsecure.oasis.saml.v2.ContactTypeR\vcontactType\x12E\n" + + "\n" + + "extensions\x18\x02 \x01(\v2%.splitsecure.oasis.saml.v2.ExtensionsR\n" + + "extensions\x12\x18\n" + + "\acompany\x18\x03 \x01(\tR\acompany\x12\x1d\n" + + "\n" + + "given_name\x18\x04 \x01(\tR\tgivenName\x12\x18\n" + + "\asurname\x18\x05 \x01(\tR\asurname\x12#\n" + + "\remail_address\x18\x06 \x03(\tR\femailAddress\x12)\n" + + "\x10telephone_number\x18\a \x03(\tR\x0ftelephoneNumberB\x85\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x12ContactPersonProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_contact_person_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_contact_person_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_contact_person_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_contact_person_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_contact_person_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_contact_person_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_contact_person_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_contact_person_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_contact_person_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_contact_person_proto_goTypes = []any{ + (*ContactPerson)(nil), // 0: splitsecure.oasis.saml.v2.ContactPerson + (ContactType)(0), // 1: splitsecure.oasis.saml.v2.ContactType + (*Extensions)(nil), // 2: splitsecure.oasis.saml.v2.Extensions +} +var file_splitsecure_oasis_saml_v2_contact_person_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.ContactPerson.contact_type:type_name -> splitsecure.oasis.saml.v2.ContactType + 2, // 1: splitsecure.oasis.saml.v2.ContactPerson.extensions:type_name -> splitsecure.oasis.saml.v2.Extensions + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_contact_person_proto_init() } +func file_splitsecure_oasis_saml_v2_contact_person_proto_init() { + if File_splitsecure_oasis_saml_v2_contact_person_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_contact_type_proto_init() + file_splitsecure_oasis_saml_v2_extensions_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_contact_person_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_contact_person_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_contact_person_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_contact_person_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_contact_person_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_contact_person_proto = out.File + file_splitsecure_oasis_saml_v2_contact_person_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_contact_person_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/contact_type.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/contact_type.pb.go new file mode 100644 index 0000000..a89113f --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/contact_type.pb.go @@ -0,0 +1,142 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/contact_type.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ContactType int32 + +const ( + ContactType_CONTACT_TYPE_UNSPECIFIED ContactType = 0 + ContactType_CONTACT_TYPE_TECHNICAL ContactType = 1 + ContactType_CONTACT_TYPE_SUPPORT ContactType = 2 + ContactType_CONTACT_TYPE_ADMINISTRATIVE ContactType = 3 + ContactType_CONTACT_TYPE_BILLING ContactType = 4 + ContactType_CONTACT_TYPE_OTHER ContactType = 5 +) + +// Enum value maps for ContactType. +var ( + ContactType_name = map[int32]string{ + 0: "CONTACT_TYPE_UNSPECIFIED", + 1: "CONTACT_TYPE_TECHNICAL", + 2: "CONTACT_TYPE_SUPPORT", + 3: "CONTACT_TYPE_ADMINISTRATIVE", + 4: "CONTACT_TYPE_BILLING", + 5: "CONTACT_TYPE_OTHER", + } + ContactType_value = map[string]int32{ + "CONTACT_TYPE_UNSPECIFIED": 0, + "CONTACT_TYPE_TECHNICAL": 1, + "CONTACT_TYPE_SUPPORT": 2, + "CONTACT_TYPE_ADMINISTRATIVE": 3, + "CONTACT_TYPE_BILLING": 4, + "CONTACT_TYPE_OTHER": 5, + } +) + +func (x ContactType) Enum() *ContactType { + p := new(ContactType) + *p = x + return p +} + +func (x ContactType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ContactType) Descriptor() protoreflect.EnumDescriptor { + return file_splitsecure_oasis_saml_v2_contact_type_proto_enumTypes[0].Descriptor() +} + +func (ContactType) Type() protoreflect.EnumType { + return &file_splitsecure_oasis_saml_v2_contact_type_proto_enumTypes[0] +} + +func (x ContactType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContactType.Descriptor instead. +func (ContactType) EnumDescriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_contact_type_proto_rawDescGZIP(), []int{0} +} + +var File_splitsecure_oasis_saml_v2_contact_type_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_contact_type_proto_rawDesc = "" + + "\n" + + ",splitsecure/oasis/saml/v2/contact_type.proto\x12\x19splitsecure.oasis.saml.v2*\xb4\x01\n" + + "\vContactType\x12\x1c\n" + + "\x18CONTACT_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n" + + "\x16CONTACT_TYPE_TECHNICAL\x10\x01\x12\x18\n" + + "\x14CONTACT_TYPE_SUPPORT\x10\x02\x12\x1f\n" + + "\x1bCONTACT_TYPE_ADMINISTRATIVE\x10\x03\x12\x18\n" + + "\x14CONTACT_TYPE_BILLING\x10\x04\x12\x16\n" + + "\x12CONTACT_TYPE_OTHER\x10\x05B\x83\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x10ContactTypeProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_contact_type_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_contact_type_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_contact_type_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_contact_type_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_contact_type_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_contact_type_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_contact_type_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_contact_type_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_contact_type_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_splitsecure_oasis_saml_v2_contact_type_proto_goTypes = []any{ + (ContactType)(0), // 0: splitsecure.oasis.saml.v2.ContactType +} +var file_splitsecure_oasis_saml_v2_contact_type_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_contact_type_proto_init() } +func file_splitsecure_oasis_saml_v2_contact_type_proto_init() { + if File_splitsecure_oasis_saml_v2_contact_type_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_contact_type_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_contact_type_proto_rawDesc)), + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_contact_type_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_contact_type_proto_depIdxs, + EnumInfos: file_splitsecure_oasis_saml_v2_contact_type_proto_enumTypes, + }.Build() + File_splitsecure_oasis_saml_v2_contact_type_proto = out.File + file_splitsecure_oasis_saml_v2_contact_type_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_contact_type_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/encryption_method.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/encryption_method.pb.go new file mode 100644 index 0000000..abcd384 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/encryption_method.pb.go @@ -0,0 +1,146 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/encryption_method.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// EncryptionMethod describes an encryption algorithm +type EncryptionMethod struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required: algorithm URI + Algorithm string `protobuf:"bytes,1,opt,name=algorithm,proto3" json:"algorithm,omitempty"` + // Optional: key size + KeySize int32 `protobuf:"varint,2,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"` + // Optional: OAEP parameters + OaepParams []byte `protobuf:"bytes,3,opt,name=oaep_params,json=oaepParams,proto3" json:"oaep_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EncryptionMethod) Reset() { + *x = EncryptionMethod{} + mi := &file_splitsecure_oasis_saml_v2_encryption_method_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EncryptionMethod) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EncryptionMethod) ProtoMessage() {} + +func (x *EncryptionMethod) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_encryption_method_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EncryptionMethod.ProtoReflect.Descriptor instead. +func (*EncryptionMethod) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDescGZIP(), []int{0} +} + +func (x *EncryptionMethod) GetAlgorithm() string { + if x != nil { + return x.Algorithm + } + return "" +} + +func (x *EncryptionMethod) GetKeySize() int32 { + if x != nil { + return x.KeySize + } + return 0 +} + +func (x *EncryptionMethod) GetOaepParams() []byte { + if x != nil { + return x.OaepParams + } + return nil +} + +var File_splitsecure_oasis_saml_v2_encryption_method_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDesc = "" + + "\n" + + "1splitsecure/oasis/saml/v2/encryption_method.proto\x12\x19splitsecure.oasis.saml.v2\"l\n" + + "\x10EncryptionMethod\x12\x1c\n" + + "\talgorithm\x18\x01 \x01(\tR\talgorithm\x12\x19\n" + + "\bkey_size\x18\x02 \x01(\x05R\akeySize\x12\x1f\n" + + "\voaep_params\x18\x03 \x01(\fR\n" + + "oaepParamsB\x88\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x15EncryptionMethodProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_encryption_method_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_encryption_method_proto_goTypes = []any{ + (*EncryptionMethod)(nil), // 0: splitsecure.oasis.saml.v2.EncryptionMethod +} +var file_splitsecure_oasis_saml_v2_encryption_method_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_encryption_method_proto_init() } +func file_splitsecure_oasis_saml_v2_encryption_method_proto_init() { + if File_splitsecure_oasis_saml_v2_encryption_method_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_encryption_method_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_encryption_method_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_encryption_method_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_encryption_method_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_encryption_method_proto = out.File + file_splitsecure_oasis_saml_v2_encryption_method_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_encryption_method_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/endpoint.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/endpoint.pb.go new file mode 100644 index 0000000..c753a6f --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/endpoint.pb.go @@ -0,0 +1,145 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/endpoint.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Endpoint represents a SAML endpoint +type Endpoint struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required: binding URI + Binding string `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"` + // Required: location URI + Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` + // Optional: response location URI + ResponseLocation string `protobuf:"bytes,3,opt,name=response_location,json=responseLocation,proto3" json:"response_location,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Endpoint) Reset() { + *x = Endpoint{} + mi := &file_splitsecure_oasis_saml_v2_endpoint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Endpoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Endpoint) ProtoMessage() {} + +func (x *Endpoint) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_endpoint_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Endpoint.ProtoReflect.Descriptor instead. +func (*Endpoint) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_endpoint_proto_rawDescGZIP(), []int{0} +} + +func (x *Endpoint) GetBinding() string { + if x != nil { + return x.Binding + } + return "" +} + +func (x *Endpoint) GetLocation() string { + if x != nil { + return x.Location + } + return "" +} + +func (x *Endpoint) GetResponseLocation() string { + if x != nil { + return x.ResponseLocation + } + return "" +} + +var File_splitsecure_oasis_saml_v2_endpoint_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_endpoint_proto_rawDesc = "" + + "\n" + + "(splitsecure/oasis/saml/v2/endpoint.proto\x12\x19splitsecure.oasis.saml.v2\"m\n" + + "\bEndpoint\x12\x18\n" + + "\abinding\x18\x01 \x01(\tR\abinding\x12\x1a\n" + + "\blocation\x18\x02 \x01(\tR\blocation\x12+\n" + + "\x11response_location\x18\x03 \x01(\tR\x10responseLocationB\x80\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\rEndpointProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_endpoint_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_endpoint_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_endpoint_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_endpoint_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_endpoint_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_endpoint_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_endpoint_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_endpoint_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_endpoint_proto_goTypes = []any{ + (*Endpoint)(nil), // 0: splitsecure.oasis.saml.v2.Endpoint +} +var file_splitsecure_oasis_saml_v2_endpoint_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_endpoint_proto_init() } +func file_splitsecure_oasis_saml_v2_endpoint_proto_init() { + if File_splitsecure_oasis_saml_v2_endpoint_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_endpoint_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_endpoint_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_endpoint_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_endpoint_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_endpoint_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_endpoint_proto = out.File + file_splitsecure_oasis_saml_v2_endpoint_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_endpoint_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/entities_descriptor.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/entities_descriptor.pb.go new file mode 100644 index 0000000..96fefbb --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/entities_descriptor.pb.go @@ -0,0 +1,210 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/entities_descriptor.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// EntitiesDescriptor represents a collection of entities +type EntitiesDescriptor struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Optional: signature over the descriptor + Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + // Optional: extension elements + Extensions *Extensions `protobuf:"bytes,2,opt,name=extensions,proto3" json:"extensions,omitempty"` + // Child entity or entities descriptors (at least one required) + EntityDescriptor []*EntityDescriptor `protobuf:"bytes,3,rep,name=entity_descriptor,json=entityDescriptor,proto3" json:"entity_descriptor,omitempty"` + EntitiesDescriptor []*EntitiesDescriptor `protobuf:"bytes,4,rep,name=entities_descriptor,json=entitiesDescriptor,proto3" json:"entities_descriptor,omitempty"` + // Optional: validity period + ValidUntil *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=valid_until,json=validUntil,proto3" json:"valid_until,omitempty"` + // Optional: cache duration + CacheDuration *durationpb.Duration `protobuf:"bytes,6,opt,name=cache_duration,json=cacheDuration,proto3" json:"cache_duration,omitempty"` + // Optional: name + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + // Optional: ID attribute + Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EntitiesDescriptor) Reset() { + *x = EntitiesDescriptor{} + mi := &file_splitsecure_oasis_saml_v2_entities_descriptor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EntitiesDescriptor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntitiesDescriptor) ProtoMessage() {} + +func (x *EntitiesDescriptor) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_entities_descriptor_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntitiesDescriptor.ProtoReflect.Descriptor instead. +func (*EntitiesDescriptor) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDescGZIP(), []int{0} +} + +func (x *EntitiesDescriptor) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *EntitiesDescriptor) GetExtensions() *Extensions { + if x != nil { + return x.Extensions + } + return nil +} + +func (x *EntitiesDescriptor) GetEntityDescriptor() []*EntityDescriptor { + if x != nil { + return x.EntityDescriptor + } + return nil +} + +func (x *EntitiesDescriptor) GetEntitiesDescriptor() []*EntitiesDescriptor { + if x != nil { + return x.EntitiesDescriptor + } + return nil +} + +func (x *EntitiesDescriptor) GetValidUntil() *timestamppb.Timestamp { + if x != nil { + return x.ValidUntil + } + return nil +} + +func (x *EntitiesDescriptor) GetCacheDuration() *durationpb.Duration { + if x != nil { + return x.CacheDuration + } + return nil +} + +func (x *EntitiesDescriptor) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *EntitiesDescriptor) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +var File_splitsecure_oasis_saml_v2_entities_descriptor_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDesc = "" + + "\n" + + "3splitsecure/oasis/saml/v2/entities_descriptor.proto\x12\x19splitsecure.oasis.saml.v2\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a1splitsecure/oasis/saml/v2/entity_descriptor.proto\x1a*splitsecure/oasis/saml/v2/extensions.proto\"\xd6\x03\n" + + "\x12EntitiesDescriptor\x12\x1c\n" + + "\tsignature\x18\x01 \x01(\fR\tsignature\x12E\n" + + "\n" + + "extensions\x18\x02 \x01(\v2%.splitsecure.oasis.saml.v2.ExtensionsR\n" + + "extensions\x12X\n" + + "\x11entity_descriptor\x18\x03 \x03(\v2+.splitsecure.oasis.saml.v2.EntityDescriptorR\x10entityDescriptor\x12^\n" + + "\x13entities_descriptor\x18\x04 \x03(\v2-.splitsecure.oasis.saml.v2.EntitiesDescriptorR\x12entitiesDescriptor\x12;\n" + + "\vvalid_until\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" + + "validUntil\x12@\n" + + "\x0ecache_duration\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\rcacheDuration\x12\x12\n" + + "\x04name\x18\a \x01(\tR\x04name\x12\x0e\n" + + "\x02id\x18\b \x01(\tR\x02idB\x8a\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x17EntitiesDescriptorProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_entities_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_entities_descriptor_proto_goTypes = []any{ + (*EntitiesDescriptor)(nil), // 0: splitsecure.oasis.saml.v2.EntitiesDescriptor + (*Extensions)(nil), // 1: splitsecure.oasis.saml.v2.Extensions + (*EntityDescriptor)(nil), // 2: splitsecure.oasis.saml.v2.EntityDescriptor + (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 4: google.protobuf.Duration +} +var file_splitsecure_oasis_saml_v2_entities_descriptor_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.EntitiesDescriptor.extensions:type_name -> splitsecure.oasis.saml.v2.Extensions + 2, // 1: splitsecure.oasis.saml.v2.EntitiesDescriptor.entity_descriptor:type_name -> splitsecure.oasis.saml.v2.EntityDescriptor + 0, // 2: splitsecure.oasis.saml.v2.EntitiesDescriptor.entities_descriptor:type_name -> splitsecure.oasis.saml.v2.EntitiesDescriptor + 3, // 3: splitsecure.oasis.saml.v2.EntitiesDescriptor.valid_until:type_name -> google.protobuf.Timestamp + 4, // 4: splitsecure.oasis.saml.v2.EntitiesDescriptor.cache_duration:type_name -> google.protobuf.Duration + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_entities_descriptor_proto_init() } +func file_splitsecure_oasis_saml_v2_entities_descriptor_proto_init() { + if File_splitsecure_oasis_saml_v2_entities_descriptor_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_entity_descriptor_proto_init() + file_splitsecure_oasis_saml_v2_extensions_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_entities_descriptor_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_entities_descriptor_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_entities_descriptor_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_entities_descriptor_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_entities_descriptor_proto = out.File + file_splitsecure_oasis_saml_v2_entities_descriptor_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_entities_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/entity_descriptor.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/entity_descriptor.pb.go new file mode 100644 index 0000000..1c8582d --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/entity_descriptor.pb.go @@ -0,0 +1,301 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/entity_descriptor.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// EntityDescriptor represents a SAML entity (IdP or SP) +type EntityDescriptor struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required: unique identifier for the entity (max 1024 chars) + EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + // Optional: signature over the descriptor + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + // Optional: extension elements + Extensions *Extensions `protobuf:"bytes,3,opt,name=extensions,proto3" json:"extensions,omitempty"` + // Role descriptors - at least one required + IdpSsoDescriptor []*IDPSSODescriptor `protobuf:"bytes,4,rep,name=idp_sso_descriptor,json=idpSsoDescriptor,proto3" json:"idp_sso_descriptor,omitempty"` + SpSsoDescriptor []*SPSSODescriptor `protobuf:"bytes,5,rep,name=sp_sso_descriptor,json=spSsoDescriptor,proto3" json:"sp_sso_descriptor,omitempty"` + AuthnAuthorityDescriptor []*AuthnAuthorityDescriptor `protobuf:"bytes,6,rep,name=authn_authority_descriptor,json=authnAuthorityDescriptor,proto3" json:"authn_authority_descriptor,omitempty"` + AttributeAuthorityDescriptor []*AttributeAuthorityDescriptor `protobuf:"bytes,7,rep,name=attribute_authority_descriptor,json=attributeAuthorityDescriptor,proto3" json:"attribute_authority_descriptor,omitempty"` + PdpDescriptor []*PDPDescriptor `protobuf:"bytes,8,rep,name=pdp_descriptor,json=pdpDescriptor,proto3" json:"pdp_descriptor,omitempty"` + // Alternative: affiliation descriptor (mutually exclusive with role descriptors) + AffiliationDescriptor *AffiliationDescriptor `protobuf:"bytes,9,opt,name=affiliation_descriptor,json=affiliationDescriptor,proto3" json:"affiliation_descriptor,omitempty"` + // Optional: organization information + Organization *Organization `protobuf:"bytes,10,opt,name=organization,proto3" json:"organization,omitempty"` + // Optional: contact persons + ContactPerson []*ContactPerson `protobuf:"bytes,11,rep,name=contact_person,json=contactPerson,proto3" json:"contact_person,omitempty"` + // Optional: additional metadata locations + AdditionalMetadataLocation []*AdditionalMetadataLocation `protobuf:"bytes,12,rep,name=additional_metadata_location,json=additionalMetadataLocation,proto3" json:"additional_metadata_location,omitempty"` + // Optional: validity period + ValidUntil *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=valid_until,json=validUntil,proto3" json:"valid_until,omitempty"` + // Optional: cache duration + CacheDuration *durationpb.Duration `protobuf:"bytes,14,opt,name=cache_duration,json=cacheDuration,proto3" json:"cache_duration,omitempty"` + // Optional: ID attribute + Id string `protobuf:"bytes,15,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EntityDescriptor) Reset() { + *x = EntityDescriptor{} + mi := &file_splitsecure_oasis_saml_v2_entity_descriptor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EntityDescriptor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityDescriptor) ProtoMessage() {} + +func (x *EntityDescriptor) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_entity_descriptor_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityDescriptor.ProtoReflect.Descriptor instead. +func (*EntityDescriptor) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityDescriptor) GetEntityId() string { + if x != nil { + return x.EntityId + } + return "" +} + +func (x *EntityDescriptor) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *EntityDescriptor) GetExtensions() *Extensions { + if x != nil { + return x.Extensions + } + return nil +} + +func (x *EntityDescriptor) GetIdpSsoDescriptor() []*IDPSSODescriptor { + if x != nil { + return x.IdpSsoDescriptor + } + return nil +} + +func (x *EntityDescriptor) GetSpSsoDescriptor() []*SPSSODescriptor { + if x != nil { + return x.SpSsoDescriptor + } + return nil +} + +func (x *EntityDescriptor) GetAuthnAuthorityDescriptor() []*AuthnAuthorityDescriptor { + if x != nil { + return x.AuthnAuthorityDescriptor + } + return nil +} + +func (x *EntityDescriptor) GetAttributeAuthorityDescriptor() []*AttributeAuthorityDescriptor { + if x != nil { + return x.AttributeAuthorityDescriptor + } + return nil +} + +func (x *EntityDescriptor) GetPdpDescriptor() []*PDPDescriptor { + if x != nil { + return x.PdpDescriptor + } + return nil +} + +func (x *EntityDescriptor) GetAffiliationDescriptor() *AffiliationDescriptor { + if x != nil { + return x.AffiliationDescriptor + } + return nil +} + +func (x *EntityDescriptor) GetOrganization() *Organization { + if x != nil { + return x.Organization + } + return nil +} + +func (x *EntityDescriptor) GetContactPerson() []*ContactPerson { + if x != nil { + return x.ContactPerson + } + return nil +} + +func (x *EntityDescriptor) GetAdditionalMetadataLocation() []*AdditionalMetadataLocation { + if x != nil { + return x.AdditionalMetadataLocation + } + return nil +} + +func (x *EntityDescriptor) GetValidUntil() *timestamppb.Timestamp { + if x != nil { + return x.ValidUntil + } + return nil +} + +func (x *EntityDescriptor) GetCacheDuration() *durationpb.Duration { + if x != nil { + return x.CacheDuration + } + return nil +} + +func (x *EntityDescriptor) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +var File_splitsecure_oasis_saml_v2_entity_descriptor_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDesc = "" + + "\n" + + "1splitsecure/oasis/saml/v2/entity_descriptor.proto\x12\x19splitsecure.oasis.saml.v2\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1asplitsecure/oasis/saml/v2/attribute_authority_descriptor.proto\x1a:splitsecure/oasis/saml/v2/authn_authority_descriptor.proto\x1a.splitsecure/oasis/saml/v2/contact_person.proto\x1a*splitsecure/oasis/saml/v2/extensions.proto\x1a2splitsecure/oasis/saml/v2/idp_sso_descriptor.proto\x1a,splitsecure/oasis/saml/v2/organization.proto\x1a.splitsecure/oasis/saml/v2/pdp_descriptor.proto\x1a1splitsecure/oasis/saml/v2/sp_sso_descriptor.proto\"\x99\t\n" + + "\x10EntityDescriptor\x12\x1b\n" + + "\tentity_id\x18\x01 \x01(\tR\bentityId\x12\x1c\n" + + "\tsignature\x18\x02 \x01(\fR\tsignature\x12E\n" + + "\n" + + "extensions\x18\x03 \x01(\v2%.splitsecure.oasis.saml.v2.ExtensionsR\n" + + "extensions\x12Y\n" + + "\x12idp_sso_descriptor\x18\x04 \x03(\v2+.splitsecure.oasis.saml.v2.IDPSSODescriptorR\x10idpSsoDescriptor\x12V\n" + + "\x11sp_sso_descriptor\x18\x05 \x03(\v2*.splitsecure.oasis.saml.v2.SPSSODescriptorR\x0fspSsoDescriptor\x12q\n" + + "\x1aauthn_authority_descriptor\x18\x06 \x03(\v23.splitsecure.oasis.saml.v2.AuthnAuthorityDescriptorR\x18authnAuthorityDescriptor\x12}\n" + + "\x1eattribute_authority_descriptor\x18\a \x03(\v27.splitsecure.oasis.saml.v2.AttributeAuthorityDescriptorR\x1cattributeAuthorityDescriptor\x12O\n" + + "\x0epdp_descriptor\x18\b \x03(\v2(.splitsecure.oasis.saml.v2.PDPDescriptorR\rpdpDescriptor\x12g\n" + + "\x16affiliation_descriptor\x18\t \x01(\v20.splitsecure.oasis.saml.v2.AffiliationDescriptorR\x15affiliationDescriptor\x12K\n" + + "\forganization\x18\n" + + " \x01(\v2'.splitsecure.oasis.saml.v2.OrganizationR\forganization\x12O\n" + + "\x0econtact_person\x18\v \x03(\v2(.splitsecure.oasis.saml.v2.ContactPersonR\rcontactPerson\x12w\n" + + "\x1cadditional_metadata_location\x18\f \x03(\v25.splitsecure.oasis.saml.v2.AdditionalMetadataLocationR\x1aadditionalMetadataLocation\x12;\n" + + "\vvalid_until\x18\r \x01(\v2\x1a.google.protobuf.TimestampR\n" + + "validUntil\x12@\n" + + "\x0ecache_duration\x18\x0e \x01(\v2\x19.google.protobuf.DurationR\rcacheDuration\x12\x0e\n" + + "\x02id\x18\x0f \x01(\tR\x02idB\x88\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x15EntityDescriptorProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_entity_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_entity_descriptor_proto_goTypes = []any{ + (*EntityDescriptor)(nil), // 0: splitsecure.oasis.saml.v2.EntityDescriptor + (*Extensions)(nil), // 1: splitsecure.oasis.saml.v2.Extensions + (*IDPSSODescriptor)(nil), // 2: splitsecure.oasis.saml.v2.IDPSSODescriptor + (*SPSSODescriptor)(nil), // 3: splitsecure.oasis.saml.v2.SPSSODescriptor + (*AuthnAuthorityDescriptor)(nil), // 4: splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor + (*AttributeAuthorityDescriptor)(nil), // 5: splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor + (*PDPDescriptor)(nil), // 6: splitsecure.oasis.saml.v2.PDPDescriptor + (*AffiliationDescriptor)(nil), // 7: splitsecure.oasis.saml.v2.AffiliationDescriptor + (*Organization)(nil), // 8: splitsecure.oasis.saml.v2.Organization + (*ContactPerson)(nil), // 9: splitsecure.oasis.saml.v2.ContactPerson + (*AdditionalMetadataLocation)(nil), // 10: splitsecure.oasis.saml.v2.AdditionalMetadataLocation + (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 12: google.protobuf.Duration +} +var file_splitsecure_oasis_saml_v2_entity_descriptor_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.EntityDescriptor.extensions:type_name -> splitsecure.oasis.saml.v2.Extensions + 2, // 1: splitsecure.oasis.saml.v2.EntityDescriptor.idp_sso_descriptor:type_name -> splitsecure.oasis.saml.v2.IDPSSODescriptor + 3, // 2: splitsecure.oasis.saml.v2.EntityDescriptor.sp_sso_descriptor:type_name -> splitsecure.oasis.saml.v2.SPSSODescriptor + 4, // 3: splitsecure.oasis.saml.v2.EntityDescriptor.authn_authority_descriptor:type_name -> splitsecure.oasis.saml.v2.AuthnAuthorityDescriptor + 5, // 4: splitsecure.oasis.saml.v2.EntityDescriptor.attribute_authority_descriptor:type_name -> splitsecure.oasis.saml.v2.AttributeAuthorityDescriptor + 6, // 5: splitsecure.oasis.saml.v2.EntityDescriptor.pdp_descriptor:type_name -> splitsecure.oasis.saml.v2.PDPDescriptor + 7, // 6: splitsecure.oasis.saml.v2.EntityDescriptor.affiliation_descriptor:type_name -> splitsecure.oasis.saml.v2.AffiliationDescriptor + 8, // 7: splitsecure.oasis.saml.v2.EntityDescriptor.organization:type_name -> splitsecure.oasis.saml.v2.Organization + 9, // 8: splitsecure.oasis.saml.v2.EntityDescriptor.contact_person:type_name -> splitsecure.oasis.saml.v2.ContactPerson + 10, // 9: splitsecure.oasis.saml.v2.EntityDescriptor.additional_metadata_location:type_name -> splitsecure.oasis.saml.v2.AdditionalMetadataLocation + 11, // 10: splitsecure.oasis.saml.v2.EntityDescriptor.valid_until:type_name -> google.protobuf.Timestamp + 12, // 11: splitsecure.oasis.saml.v2.EntityDescriptor.cache_duration:type_name -> google.protobuf.Duration + 12, // [12:12] is the sub-list for method output_type + 12, // [12:12] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_entity_descriptor_proto_init() } +func file_splitsecure_oasis_saml_v2_entity_descriptor_proto_init() { + if File_splitsecure_oasis_saml_v2_entity_descriptor_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_additional_metadata_location_proto_init() + file_splitsecure_oasis_saml_v2_affiliation_descriptor_proto_init() + file_splitsecure_oasis_saml_v2_attribute_authority_descriptor_proto_init() + file_splitsecure_oasis_saml_v2_authn_authority_descriptor_proto_init() + file_splitsecure_oasis_saml_v2_contact_person_proto_init() + file_splitsecure_oasis_saml_v2_extensions_proto_init() + file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_init() + file_splitsecure_oasis_saml_v2_organization_proto_init() + file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_init() + file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_entity_descriptor_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_entity_descriptor_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_entity_descriptor_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_entity_descriptor_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_entity_descriptor_proto = out.File + file_splitsecure_oasis_saml_v2_entity_descriptor_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_entity_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/extension.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/extension.pb.go new file mode 100644 index 0000000..0840968 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/extension.pb.go @@ -0,0 +1,146 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/extension.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Extension represents a single extension element +type Extension struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Extension namespace + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Extension local name + LocalName string `protobuf:"bytes,2,opt,name=local_name,json=localName,proto3" json:"local_name,omitempty"` + // Extension data (raw XML or serialized proto) + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Extension) Reset() { + *x = Extension{} + mi := &file_splitsecure_oasis_saml_v2_extension_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Extension) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Extension) ProtoMessage() {} + +func (x *Extension) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_extension_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Extension.ProtoReflect.Descriptor instead. +func (*Extension) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_extension_proto_rawDescGZIP(), []int{0} +} + +func (x *Extension) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + +func (x *Extension) GetLocalName() string { + if x != nil { + return x.LocalName + } + return "" +} + +func (x *Extension) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +var File_splitsecure_oasis_saml_v2_extension_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_extension_proto_rawDesc = "" + + "\n" + + ")splitsecure/oasis/saml/v2/extension.proto\x12\x19splitsecure.oasis.saml.v2\"\\\n" + + "\tExtension\x12\x1c\n" + + "\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1d\n" + + "\n" + + "local_name\x18\x02 \x01(\tR\tlocalName\x12\x12\n" + + "\x04data\x18\x03 \x01(\fR\x04dataB\x81\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x0eExtensionProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_extension_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_extension_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_extension_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_extension_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_extension_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_extension_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_extension_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_extension_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_extension_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_extension_proto_goTypes = []any{ + (*Extension)(nil), // 0: splitsecure.oasis.saml.v2.Extension +} +var file_splitsecure_oasis_saml_v2_extension_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_extension_proto_init() } +func file_splitsecure_oasis_saml_v2_extension_proto_init() { + if File_splitsecure_oasis_saml_v2_extension_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_extension_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_extension_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_extension_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_extension_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_extension_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_extension_proto = out.File + file_splitsecure_oasis_saml_v2_extension_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_extension_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/extensions.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/extensions.pb.go new file mode 100644 index 0000000..65dc5a4 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/extensions.pb.go @@ -0,0 +1,129 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/extensions.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Extensions represents extension elements +type Extensions struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Arbitrary extension data (could be structured or raw XML) + Extension []*Extension `protobuf:"bytes,1,rep,name=extension,proto3" json:"extension,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Extensions) Reset() { + *x = Extensions{} + mi := &file_splitsecure_oasis_saml_v2_extensions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Extensions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Extensions) ProtoMessage() {} + +func (x *Extensions) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_extensions_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Extensions.ProtoReflect.Descriptor instead. +func (*Extensions) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_extensions_proto_rawDescGZIP(), []int{0} +} + +func (x *Extensions) GetExtension() []*Extension { + if x != nil { + return x.Extension + } + return nil +} + +var File_splitsecure_oasis_saml_v2_extensions_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_extensions_proto_rawDesc = "" + + "\n" + + "*splitsecure/oasis/saml/v2/extensions.proto\x12\x19splitsecure.oasis.saml.v2\x1a)splitsecure/oasis/saml/v2/extension.proto\"P\n" + + "\n" + + "Extensions\x12B\n" + + "\textension\x18\x01 \x03(\v2$.splitsecure.oasis.saml.v2.ExtensionR\textensionB\x82\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x0fExtensionsProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_extensions_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_extensions_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_extensions_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_extensions_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_extensions_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_extensions_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_extensions_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_extensions_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_extensions_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_extensions_proto_goTypes = []any{ + (*Extensions)(nil), // 0: splitsecure.oasis.saml.v2.Extensions + (*Extension)(nil), // 1: splitsecure.oasis.saml.v2.Extension +} +var file_splitsecure_oasis_saml_v2_extensions_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.Extensions.extension:type_name -> splitsecure.oasis.saml.v2.Extension + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_extensions_proto_init() } +func file_splitsecure_oasis_saml_v2_extensions_proto_init() { + if File_splitsecure_oasis_saml_v2_extensions_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_extension_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_extensions_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_extensions_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_extensions_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_extensions_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_extensions_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_extensions_proto = out.File + file_splitsecure_oasis_saml_v2_extensions_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_extensions_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor.pb.go new file mode 100644 index 0000000..09dd0a5 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor.pb.go @@ -0,0 +1,196 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/idp_sso_descriptor.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// IDPSSODescriptor represents an Identity Provider SSO descriptor +type IDPSSODescriptor struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Base SSO descriptor fields + Base *SSODescriptorType `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + // Optional: whether the IdP wants AuthnRequests to be signed + WantAuthnRequestsSigned bool `protobuf:"varint,2,opt,name=want_authn_requests_signed,json=wantAuthnRequestsSigned,proto3" json:"want_authn_requests_signed,omitempty"` + // Required: single sign-on service endpoints (at least one) + SingleSignOnService []*Endpoint `protobuf:"bytes,3,rep,name=single_sign_on_service,json=singleSignOnService,proto3" json:"single_sign_on_service,omitempty"` + // Optional: name ID mapping service endpoints + NameIdMappingService []*Endpoint `protobuf:"bytes,4,rep,name=name_id_mapping_service,json=nameIdMappingService,proto3" json:"name_id_mapping_service,omitempty"` + // Optional: assertion ID request service endpoints + AssertionIdRequestService []*Endpoint `protobuf:"bytes,5,rep,name=assertion_id_request_service,json=assertionIdRequestService,proto3" json:"assertion_id_request_service,omitempty"` + // Optional: supported attribute profiles + AttributeProfile []string `protobuf:"bytes,6,rep,name=attribute_profile,json=attributeProfile,proto3" json:"attribute_profile,omitempty"` + // Optional: supported attributes + Attribute []*Attribute `protobuf:"bytes,7,rep,name=attribute,proto3" json:"attribute,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IDPSSODescriptor) Reset() { + *x = IDPSSODescriptor{} + mi := &file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IDPSSODescriptor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IDPSSODescriptor) ProtoMessage() {} + +func (x *IDPSSODescriptor) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IDPSSODescriptor.ProtoReflect.Descriptor instead. +func (*IDPSSODescriptor) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDescGZIP(), []int{0} +} + +func (x *IDPSSODescriptor) GetBase() *SSODescriptorType { + if x != nil { + return x.Base + } + return nil +} + +func (x *IDPSSODescriptor) GetWantAuthnRequestsSigned() bool { + if x != nil { + return x.WantAuthnRequestsSigned + } + return false +} + +func (x *IDPSSODescriptor) GetSingleSignOnService() []*Endpoint { + if x != nil { + return x.SingleSignOnService + } + return nil +} + +func (x *IDPSSODescriptor) GetNameIdMappingService() []*Endpoint { + if x != nil { + return x.NameIdMappingService + } + return nil +} + +func (x *IDPSSODescriptor) GetAssertionIdRequestService() []*Endpoint { + if x != nil { + return x.AssertionIdRequestService + } + return nil +} + +func (x *IDPSSODescriptor) GetAttributeProfile() []string { + if x != nil { + return x.AttributeProfile + } + return nil +} + +func (x *IDPSSODescriptor) GetAttribute() []*Attribute { + if x != nil { + return x.Attribute + } + return nil +} + +var File_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDesc = "" + + "\n" + + "2splitsecure/oasis/saml/v2/idp_sso_descriptor.proto\x12\x19splitsecure.oasis.saml.v2\x1a)splitsecure/oasis/saml/v2/attribute.proto\x1a(splitsecure/oasis/saml/v2/endpoint.proto\x1a3splitsecure/oasis/saml/v2/sso_descriptor_type.proto\"\x9e\x04\n" + + "\x10IDPSSODescriptor\x12@\n" + + "\x04base\x18\x01 \x01(\v2,.splitsecure.oasis.saml.v2.SSODescriptorTypeR\x04base\x12;\n" + + "\x1awant_authn_requests_signed\x18\x02 \x01(\bR\x17wantAuthnRequestsSigned\x12X\n" + + "\x16single_sign_on_service\x18\x03 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x13singleSignOnService\x12Z\n" + + "\x17name_id_mapping_service\x18\x04 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x14nameIdMappingService\x12d\n" + + "\x1cassertion_id_request_service\x18\x05 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x19assertionIdRequestService\x12+\n" + + "\x11attribute_profile\x18\x06 \x03(\tR\x10attributeProfile\x12B\n" + + "\tattribute\x18\a \x03(\v2$.splitsecure.oasis.saml.v2.AttributeR\tattributeB\x88\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x15IdpSsoDescriptorProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_goTypes = []any{ + (*IDPSSODescriptor)(nil), // 0: splitsecure.oasis.saml.v2.IDPSSODescriptor + (*SSODescriptorType)(nil), // 1: splitsecure.oasis.saml.v2.SSODescriptorType + (*Endpoint)(nil), // 2: splitsecure.oasis.saml.v2.Endpoint + (*Attribute)(nil), // 3: splitsecure.oasis.saml.v2.Attribute +} +var file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.IDPSSODescriptor.base:type_name -> splitsecure.oasis.saml.v2.SSODescriptorType + 2, // 1: splitsecure.oasis.saml.v2.IDPSSODescriptor.single_sign_on_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 2, // 2: splitsecure.oasis.saml.v2.IDPSSODescriptor.name_id_mapping_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 2, // 3: splitsecure.oasis.saml.v2.IDPSSODescriptor.assertion_id_request_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 3, // 4: splitsecure.oasis.saml.v2.IDPSSODescriptor.attribute:type_name -> splitsecure.oasis.saml.v2.Attribute + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_init() } +func file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_init() { + if File_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_attribute_proto_init() + file_splitsecure_oasis_saml_v2_endpoint_proto_init() + file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto = out.File + file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_idp_sso_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/indexed_endpoint.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/indexed_endpoint.pb.go new file mode 100644 index 0000000..d52eaea --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/indexed_endpoint.pb.go @@ -0,0 +1,149 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/indexed_endpoint.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// IndexedEndpoint represents an indexed SAML endpoint +type IndexedEndpoint struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Base endpoint fields + Base *Endpoint `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + // Required: index + Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + // Optional: is default + IsDefault bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IndexedEndpoint) Reset() { + *x = IndexedEndpoint{} + mi := &file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IndexedEndpoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IndexedEndpoint) ProtoMessage() {} + +func (x *IndexedEndpoint) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IndexedEndpoint.ProtoReflect.Descriptor instead. +func (*IndexedEndpoint) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDescGZIP(), []int{0} +} + +func (x *IndexedEndpoint) GetBase() *Endpoint { + if x != nil { + return x.Base + } + return nil +} + +func (x *IndexedEndpoint) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *IndexedEndpoint) GetIsDefault() bool { + if x != nil { + return x.IsDefault + } + return false +} + +var File_splitsecure_oasis_saml_v2_indexed_endpoint_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDesc = "" + + "\n" + + "0splitsecure/oasis/saml/v2/indexed_endpoint.proto\x12\x19splitsecure.oasis.saml.v2\x1a(splitsecure/oasis/saml/v2/endpoint.proto\"\x7f\n" + + "\x0fIndexedEndpoint\x127\n" + + "\x04base\x18\x01 \x01(\v2#.splitsecure.oasis.saml.v2.EndpointR\x04base\x12\x14\n" + + "\x05index\x18\x02 \x01(\rR\x05index\x12\x1d\n" + + "\n" + + "is_default\x18\x03 \x01(\bR\tisDefaultB\x87\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x14IndexedEndpointProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_goTypes = []any{ + (*IndexedEndpoint)(nil), // 0: splitsecure.oasis.saml.v2.IndexedEndpoint + (*Endpoint)(nil), // 1: splitsecure.oasis.saml.v2.Endpoint +} +var file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.IndexedEndpoint.base:type_name -> splitsecure.oasis.saml.v2.Endpoint + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_init() } +func file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_init() { + if File_splitsecure_oasis_saml_v2_indexed_endpoint_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_endpoint_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_indexed_endpoint_proto = out.File + file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/key_descriptor.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/key_descriptor.pb.go new file mode 100644 index 0000000..136eaa0 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/key_descriptor.pb.go @@ -0,0 +1,154 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/key_descriptor.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// KeyDescriptor describes a cryptographic key +type KeyDescriptor struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Optional: key use (signing or encryption) + Use KeyType `protobuf:"varint,1,opt,name=use,proto3,enum=splitsecure.oasis.saml.v2.KeyType" json:"use,omitempty"` + // Required: key information (X.509 certificate, etc.) + KeyInfo *KeyInfo `protobuf:"bytes,2,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"` + // Optional: encryption methods supported + EncryptionMethod []*EncryptionMethod `protobuf:"bytes,3,rep,name=encryption_method,json=encryptionMethod,proto3" json:"encryption_method,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *KeyDescriptor) Reset() { + *x = KeyDescriptor{} + mi := &file_splitsecure_oasis_saml_v2_key_descriptor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *KeyDescriptor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyDescriptor) ProtoMessage() {} + +func (x *KeyDescriptor) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_key_descriptor_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyDescriptor.ProtoReflect.Descriptor instead. +func (*KeyDescriptor) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDescGZIP(), []int{0} +} + +func (x *KeyDescriptor) GetUse() KeyType { + if x != nil { + return x.Use + } + return KeyType_KEY_TYPE_UNSPECIFIED +} + +func (x *KeyDescriptor) GetKeyInfo() *KeyInfo { + if x != nil { + return x.KeyInfo + } + return nil +} + +func (x *KeyDescriptor) GetEncryptionMethod() []*EncryptionMethod { + if x != nil { + return x.EncryptionMethod + } + return nil +} + +var File_splitsecure_oasis_saml_v2_key_descriptor_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDesc = "" + + "\n" + + ".splitsecure/oasis/saml/v2/key_descriptor.proto\x12\x19splitsecure.oasis.saml.v2\x1a1splitsecure/oasis/saml/v2/encryption_method.proto\x1a(splitsecure/oasis/saml/v2/key_info.proto\x1a(splitsecure/oasis/saml/v2/key_type.proto\"\xde\x01\n" + + "\rKeyDescriptor\x124\n" + + "\x03use\x18\x01 \x01(\x0e2\".splitsecure.oasis.saml.v2.KeyTypeR\x03use\x12=\n" + + "\bkey_info\x18\x02 \x01(\v2\".splitsecure.oasis.saml.v2.KeyInfoR\akeyInfo\x12X\n" + + "\x11encryption_method\x18\x03 \x03(\v2+.splitsecure.oasis.saml.v2.EncryptionMethodR\x10encryptionMethodB\x85\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x12KeyDescriptorProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_key_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_key_descriptor_proto_goTypes = []any{ + (*KeyDescriptor)(nil), // 0: splitsecure.oasis.saml.v2.KeyDescriptor + (KeyType)(0), // 1: splitsecure.oasis.saml.v2.KeyType + (*KeyInfo)(nil), // 2: splitsecure.oasis.saml.v2.KeyInfo + (*EncryptionMethod)(nil), // 3: splitsecure.oasis.saml.v2.EncryptionMethod +} +var file_splitsecure_oasis_saml_v2_key_descriptor_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.KeyDescriptor.use:type_name -> splitsecure.oasis.saml.v2.KeyType + 2, // 1: splitsecure.oasis.saml.v2.KeyDescriptor.key_info:type_name -> splitsecure.oasis.saml.v2.KeyInfo + 3, // 2: splitsecure.oasis.saml.v2.KeyDescriptor.encryption_method:type_name -> splitsecure.oasis.saml.v2.EncryptionMethod + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_key_descriptor_proto_init() } +func file_splitsecure_oasis_saml_v2_key_descriptor_proto_init() { + if File_splitsecure_oasis_saml_v2_key_descriptor_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_encryption_method_proto_init() + file_splitsecure_oasis_saml_v2_key_info_proto_init() + file_splitsecure_oasis_saml_v2_key_type_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_key_descriptor_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_key_descriptor_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_key_descriptor_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_key_descriptor_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_key_descriptor_proto = out.File + file_splitsecure_oasis_saml_v2_key_descriptor_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_key_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/key_info.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/key_info.pb.go new file mode 100644 index 0000000..136859f --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/key_info.pb.go @@ -0,0 +1,145 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/key_info.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// KeyInfo represents key information (simplified from XML dsig) +type KeyInfo struct { + state protoimpl.MessageState `protogen:"open.v1"` + // X.509 certificate data + X509Certificate []byte `protobuf:"bytes,1,opt,name=x509_certificate,json=x509Certificate,proto3" json:"x509_certificate,omitempty"` + // Optional: key name + KeyName string `protobuf:"bytes,2,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"` + // Optional: raw key value + KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *KeyInfo) Reset() { + *x = KeyInfo{} + mi := &file_splitsecure_oasis_saml_v2_key_info_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *KeyInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyInfo) ProtoMessage() {} + +func (x *KeyInfo) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_key_info_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyInfo.ProtoReflect.Descriptor instead. +func (*KeyInfo) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_key_info_proto_rawDescGZIP(), []int{0} +} + +func (x *KeyInfo) GetX509Certificate() []byte { + if x != nil { + return x.X509Certificate + } + return nil +} + +func (x *KeyInfo) GetKeyName() string { + if x != nil { + return x.KeyName + } + return "" +} + +func (x *KeyInfo) GetKeyValue() []byte { + if x != nil { + return x.KeyValue + } + return nil +} + +var File_splitsecure_oasis_saml_v2_key_info_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_key_info_proto_rawDesc = "" + + "\n" + + "(splitsecure/oasis/saml/v2/key_info.proto\x12\x19splitsecure.oasis.saml.v2\"l\n" + + "\aKeyInfo\x12)\n" + + "\x10x509_certificate\x18\x01 \x01(\fR\x0fx509Certificate\x12\x19\n" + + "\bkey_name\x18\x02 \x01(\tR\akeyName\x12\x1b\n" + + "\tkey_value\x18\x03 \x01(\fR\bkeyValueB\xff\x01\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\fKeyInfoProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_key_info_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_key_info_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_key_info_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_key_info_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_key_info_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_key_info_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_key_info_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_key_info_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_key_info_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_key_info_proto_goTypes = []any{ + (*KeyInfo)(nil), // 0: splitsecure.oasis.saml.v2.KeyInfo +} +var file_splitsecure_oasis_saml_v2_key_info_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_key_info_proto_init() } +func file_splitsecure_oasis_saml_v2_key_info_proto_init() { + if File_splitsecure_oasis_saml_v2_key_info_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_key_info_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_key_info_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_key_info_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_key_info_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_key_info_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_key_info_proto = out.File + file_splitsecure_oasis_saml_v2_key_info_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_key_info_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/key_type.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/key_type.pb.go new file mode 100644 index 0000000..a02c8e9 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/key_type.pb.go @@ -0,0 +1,130 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/key_type.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type KeyType int32 + +const ( + KeyType_KEY_TYPE_UNSPECIFIED KeyType = 0 + KeyType_KEY_TYPE_SIGNING KeyType = 1 + KeyType_KEY_TYPE_ENCRYPTION KeyType = 2 +) + +// Enum value maps for KeyType. +var ( + KeyType_name = map[int32]string{ + 0: "KEY_TYPE_UNSPECIFIED", + 1: "KEY_TYPE_SIGNING", + 2: "KEY_TYPE_ENCRYPTION", + } + KeyType_value = map[string]int32{ + "KEY_TYPE_UNSPECIFIED": 0, + "KEY_TYPE_SIGNING": 1, + "KEY_TYPE_ENCRYPTION": 2, + } +) + +func (x KeyType) Enum() *KeyType { + p := new(KeyType) + *p = x + return p +} + +func (x KeyType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (KeyType) Descriptor() protoreflect.EnumDescriptor { + return file_splitsecure_oasis_saml_v2_key_type_proto_enumTypes[0].Descriptor() +} + +func (KeyType) Type() protoreflect.EnumType { + return &file_splitsecure_oasis_saml_v2_key_type_proto_enumTypes[0] +} + +func (x KeyType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use KeyType.Descriptor instead. +func (KeyType) EnumDescriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_key_type_proto_rawDescGZIP(), []int{0} +} + +var File_splitsecure_oasis_saml_v2_key_type_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_key_type_proto_rawDesc = "" + + "\n" + + "(splitsecure/oasis/saml/v2/key_type.proto\x12\x19splitsecure.oasis.saml.v2*R\n" + + "\aKeyType\x12\x18\n" + + "\x14KEY_TYPE_UNSPECIFIED\x10\x00\x12\x14\n" + + "\x10KEY_TYPE_SIGNING\x10\x01\x12\x17\n" + + "\x13KEY_TYPE_ENCRYPTION\x10\x02B\xff\x01\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\fKeyTypeProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_key_type_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_key_type_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_key_type_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_key_type_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_key_type_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_key_type_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_key_type_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_key_type_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_key_type_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_splitsecure_oasis_saml_v2_key_type_proto_goTypes = []any{ + (KeyType)(0), // 0: splitsecure.oasis.saml.v2.KeyType +} +var file_splitsecure_oasis_saml_v2_key_type_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_key_type_proto_init() } +func file_splitsecure_oasis_saml_v2_key_type_proto_init() { + if File_splitsecure_oasis_saml_v2_key_type_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_key_type_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_key_type_proto_rawDesc)), + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_key_type_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_key_type_proto_depIdxs, + EnumInfos: file_splitsecure_oasis_saml_v2_key_type_proto_enumTypes, + }.Build() + File_splitsecure_oasis_saml_v2_key_type_proto = out.File + file_splitsecure_oasis_saml_v2_key_type_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_key_type_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/localized_name.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/localized_name.pb.go new file mode 100644 index 0000000..991ec03 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/localized_name.pb.go @@ -0,0 +1,135 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/localized_name.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// LocalizedName represents a name with language tag +type LocalizedName struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required: name value + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Required: language tag (e.g., "en", "es") + Lang string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *LocalizedName) Reset() { + *x = LocalizedName{} + mi := &file_splitsecure_oasis_saml_v2_localized_name_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *LocalizedName) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LocalizedName) ProtoMessage() {} + +func (x *LocalizedName) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_localized_name_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LocalizedName.ProtoReflect.Descriptor instead. +func (*LocalizedName) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_localized_name_proto_rawDescGZIP(), []int{0} +} + +func (x *LocalizedName) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +func (x *LocalizedName) GetLang() string { + if x != nil { + return x.Lang + } + return "" +} + +var File_splitsecure_oasis_saml_v2_localized_name_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_localized_name_proto_rawDesc = "" + + "\n" + + ".splitsecure/oasis/saml/v2/localized_name.proto\x12\x19splitsecure.oasis.saml.v2\"9\n" + + "\rLocalizedName\x12\x14\n" + + "\x05value\x18\x01 \x01(\tR\x05value\x12\x12\n" + + "\x04lang\x18\x02 \x01(\tR\x04langB\x85\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x12LocalizedNameProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_localized_name_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_localized_name_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_localized_name_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_localized_name_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_localized_name_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_localized_name_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_localized_name_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_localized_name_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_localized_name_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_localized_name_proto_goTypes = []any{ + (*LocalizedName)(nil), // 0: splitsecure.oasis.saml.v2.LocalizedName +} +var file_splitsecure_oasis_saml_v2_localized_name_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_localized_name_proto_init() } +func file_splitsecure_oasis_saml_v2_localized_name_proto_init() { + if File_splitsecure_oasis_saml_v2_localized_name_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_localized_name_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_localized_name_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_localized_name_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_localized_name_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_localized_name_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_localized_name_proto = out.File + file_splitsecure_oasis_saml_v2_localized_name_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_localized_name_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/localized_uri.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/localized_uri.pb.go new file mode 100644 index 0000000..154767b --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/localized_uri.pb.go @@ -0,0 +1,135 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/localized_uri.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// LocalizedURI represents a URI with language tag +type LocalizedURI struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Required: URI value + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Required: language tag (e.g., "en", "es") + Lang string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *LocalizedURI) Reset() { + *x = LocalizedURI{} + mi := &file_splitsecure_oasis_saml_v2_localized_uri_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *LocalizedURI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LocalizedURI) ProtoMessage() {} + +func (x *LocalizedURI) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_localized_uri_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LocalizedURI.ProtoReflect.Descriptor instead. +func (*LocalizedURI) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDescGZIP(), []int{0} +} + +func (x *LocalizedURI) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +func (x *LocalizedURI) GetLang() string { + if x != nil { + return x.Lang + } + return "" +} + +var File_splitsecure_oasis_saml_v2_localized_uri_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDesc = "" + + "\n" + + "-splitsecure/oasis/saml/v2/localized_uri.proto\x12\x19splitsecure.oasis.saml.v2\"8\n" + + "\fLocalizedURI\x12\x14\n" + + "\x05value\x18\x01 \x01(\tR\x05value\x12\x12\n" + + "\x04lang\x18\x02 \x01(\tR\x04langB\x84\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x11LocalizedUriProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_localized_uri_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_localized_uri_proto_goTypes = []any{ + (*LocalizedURI)(nil), // 0: splitsecure.oasis.saml.v2.LocalizedURI +} +var file_splitsecure_oasis_saml_v2_localized_uri_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_localized_uri_proto_init() } +func file_splitsecure_oasis_saml_v2_localized_uri_proto_init() { + if File_splitsecure_oasis_saml_v2_localized_uri_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_localized_uri_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_localized_uri_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_localized_uri_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_localized_uri_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_localized_uri_proto = out.File + file_splitsecure_oasis_saml_v2_localized_uri_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_localized_uri_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/metadata.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/metadata.pb.go new file mode 100644 index 0000000..cfcb896 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/metadata.pb.go @@ -0,0 +1,153 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/metadata.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Metadata is the top-level wrapper for SAML metadata. +type Metadata struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Content: + // + // *Metadata_EntityDescriptor + Content isMetadata_Content `protobuf_oneof:"content"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Metadata) Reset() { + *x = Metadata{} + mi := &file_splitsecure_oasis_saml_v2_metadata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Metadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Metadata) ProtoMessage() {} + +func (x *Metadata) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_metadata_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Metadata.ProtoReflect.Descriptor instead. +func (*Metadata) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_metadata_proto_rawDescGZIP(), []int{0} +} + +func (x *Metadata) GetContent() isMetadata_Content { + if x != nil { + return x.Content + } + return nil +} + +func (x *Metadata) GetEntityDescriptor() *EntityDescriptor { + if x != nil { + if x, ok := x.Content.(*Metadata_EntityDescriptor); ok { + return x.EntityDescriptor + } + } + return nil +} + +type isMetadata_Content interface { + isMetadata_Content() +} + +type Metadata_EntityDescriptor struct { + EntityDescriptor *EntityDescriptor `protobuf:"bytes,1,opt,name=entity_descriptor,json=entityDescriptor,proto3,oneof"` // EntitiesDescriptor entities_descriptor = 2; +} + +func (*Metadata_EntityDescriptor) isMetadata_Content() {} + +var File_splitsecure_oasis_saml_v2_metadata_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_metadata_proto_rawDesc = "" + + "\n" + + "(splitsecure/oasis/saml/v2/metadata.proto\x12\x19splitsecure.oasis.saml.v2\x1a1splitsecure/oasis/saml/v2/entity_descriptor.proto\"q\n" + + "\bMetadata\x12Z\n" + + "\x11entity_descriptor\x18\x01 \x01(\v2+.splitsecure.oasis.saml.v2.EntityDescriptorH\x00R\x10entityDescriptorB\t\n" + + "\acontentB\x80\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\rMetadataProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_metadata_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_metadata_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_metadata_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_metadata_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_metadata_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_metadata_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_metadata_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_metadata_proto_goTypes = []any{ + (*Metadata)(nil), // 0: splitsecure.oasis.saml.v2.Metadata + (*EntityDescriptor)(nil), // 1: splitsecure.oasis.saml.v2.EntityDescriptor +} +var file_splitsecure_oasis_saml_v2_metadata_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.Metadata.entity_descriptor:type_name -> splitsecure.oasis.saml.v2.EntityDescriptor + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_metadata_proto_init() } +func file_splitsecure_oasis_saml_v2_metadata_proto_init() { + if File_splitsecure_oasis_saml_v2_metadata_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_entity_descriptor_proto_init() + file_splitsecure_oasis_saml_v2_metadata_proto_msgTypes[0].OneofWrappers = []any{ + (*Metadata_EntityDescriptor)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_metadata_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_metadata_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_metadata_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_metadata_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_metadata_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_metadata_proto = out.File + file_splitsecure_oasis_saml_v2_metadata_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_metadata_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/organization.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/organization.pb.go new file mode 100644 index 0000000..03cf3de --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/organization.pb.go @@ -0,0 +1,167 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/organization.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Organization describes an organization +type Organization struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Optional: extensions + Extensions *Extensions `protobuf:"bytes,1,opt,name=extensions,proto3" json:"extensions,omitempty"` + // Required: organization names (at least one, with language tags) + OrganizationName []*LocalizedName `protobuf:"bytes,2,rep,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` + // Required: organization display names (at least one, with language tags) + OrganizationDisplayName []*LocalizedName `protobuf:"bytes,3,rep,name=organization_display_name,json=organizationDisplayName,proto3" json:"organization_display_name,omitempty"` + // Required: organization URLs (at least one, with language tags) + OrganizationUrl []*LocalizedURI `protobuf:"bytes,4,rep,name=organization_url,json=organizationUrl,proto3" json:"organization_url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Organization) Reset() { + *x = Organization{} + mi := &file_splitsecure_oasis_saml_v2_organization_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Organization) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Organization) ProtoMessage() {} + +func (x *Organization) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_organization_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Organization.ProtoReflect.Descriptor instead. +func (*Organization) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_organization_proto_rawDescGZIP(), []int{0} +} + +func (x *Organization) GetExtensions() *Extensions { + if x != nil { + return x.Extensions + } + return nil +} + +func (x *Organization) GetOrganizationName() []*LocalizedName { + if x != nil { + return x.OrganizationName + } + return nil +} + +func (x *Organization) GetOrganizationDisplayName() []*LocalizedName { + if x != nil { + return x.OrganizationDisplayName + } + return nil +} + +func (x *Organization) GetOrganizationUrl() []*LocalizedURI { + if x != nil { + return x.OrganizationUrl + } + return nil +} + +var File_splitsecure_oasis_saml_v2_organization_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_organization_proto_rawDesc = "" + + "\n" + + ",splitsecure/oasis/saml/v2/organization.proto\x12\x19splitsecure.oasis.saml.v2\x1a*splitsecure/oasis/saml/v2/extensions.proto\x1a.splitsecure/oasis/saml/v2/localized_name.proto\x1a-splitsecure/oasis/saml/v2/localized_uri.proto\"\xe6\x02\n" + + "\fOrganization\x12E\n" + + "\n" + + "extensions\x18\x01 \x01(\v2%.splitsecure.oasis.saml.v2.ExtensionsR\n" + + "extensions\x12U\n" + + "\x11organization_name\x18\x02 \x03(\v2(.splitsecure.oasis.saml.v2.LocalizedNameR\x10organizationName\x12d\n" + + "\x19organization_display_name\x18\x03 \x03(\v2(.splitsecure.oasis.saml.v2.LocalizedNameR\x17organizationDisplayName\x12R\n" + + "\x10organization_url\x18\x04 \x03(\v2'.splitsecure.oasis.saml.v2.LocalizedURIR\x0forganizationUrlB\x84\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x11OrganizationProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_organization_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_organization_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_organization_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_organization_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_organization_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_organization_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_organization_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_organization_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_organization_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_organization_proto_goTypes = []any{ + (*Organization)(nil), // 0: splitsecure.oasis.saml.v2.Organization + (*Extensions)(nil), // 1: splitsecure.oasis.saml.v2.Extensions + (*LocalizedName)(nil), // 2: splitsecure.oasis.saml.v2.LocalizedName + (*LocalizedURI)(nil), // 3: splitsecure.oasis.saml.v2.LocalizedURI +} +var file_splitsecure_oasis_saml_v2_organization_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.Organization.extensions:type_name -> splitsecure.oasis.saml.v2.Extensions + 2, // 1: splitsecure.oasis.saml.v2.Organization.organization_name:type_name -> splitsecure.oasis.saml.v2.LocalizedName + 2, // 2: splitsecure.oasis.saml.v2.Organization.organization_display_name:type_name -> splitsecure.oasis.saml.v2.LocalizedName + 3, // 3: splitsecure.oasis.saml.v2.Organization.organization_url:type_name -> splitsecure.oasis.saml.v2.LocalizedURI + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_organization_proto_init() } +func file_splitsecure_oasis_saml_v2_organization_proto_init() { + if File_splitsecure_oasis_saml_v2_organization_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_extensions_proto_init() + file_splitsecure_oasis_saml_v2_localized_name_proto_init() + file_splitsecure_oasis_saml_v2_localized_uri_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_organization_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_organization_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_organization_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_organization_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_organization_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_organization_proto = out.File + file_splitsecure_oasis_saml_v2_organization_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_organization_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/pdp_descriptor.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/pdp_descriptor.pb.go new file mode 100644 index 0000000..435c656 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/pdp_descriptor.pb.go @@ -0,0 +1,162 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/pdp_descriptor.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// PDPDescriptor represents a Policy Decision Point descriptor +type PDPDescriptor struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Base role descriptor fields + Base *RoleDescriptorType `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + // Required: authorization service endpoints (at least one) + AuthzService []*Endpoint `protobuf:"bytes,2,rep,name=authz_service,json=authzService,proto3" json:"authz_service,omitempty"` + // Optional: assertion ID request service endpoints + AssertionIdRequestService []*Endpoint `protobuf:"bytes,3,rep,name=assertion_id_request_service,json=assertionIdRequestService,proto3" json:"assertion_id_request_service,omitempty"` + // Optional: supported name ID formats + NameIdFormat []string `protobuf:"bytes,4,rep,name=name_id_format,json=nameIdFormat,proto3" json:"name_id_format,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PDPDescriptor) Reset() { + *x = PDPDescriptor{} + mi := &file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PDPDescriptor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PDPDescriptor) ProtoMessage() {} + +func (x *PDPDescriptor) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PDPDescriptor.ProtoReflect.Descriptor instead. +func (*PDPDescriptor) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDescGZIP(), []int{0} +} + +func (x *PDPDescriptor) GetBase() *RoleDescriptorType { + if x != nil { + return x.Base + } + return nil +} + +func (x *PDPDescriptor) GetAuthzService() []*Endpoint { + if x != nil { + return x.AuthzService + } + return nil +} + +func (x *PDPDescriptor) GetAssertionIdRequestService() []*Endpoint { + if x != nil { + return x.AssertionIdRequestService + } + return nil +} + +func (x *PDPDescriptor) GetNameIdFormat() []string { + if x != nil { + return x.NameIdFormat + } + return nil +} + +var File_splitsecure_oasis_saml_v2_pdp_descriptor_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDesc = "" + + "\n" + + ".splitsecure/oasis/saml/v2/pdp_descriptor.proto\x12\x19splitsecure.oasis.saml.v2\x1a(splitsecure/oasis/saml/v2/endpoint.proto\x1a4splitsecure/oasis/saml/v2/role_descriptor_type.proto\"\xa8\x02\n" + + "\rPDPDescriptor\x12A\n" + + "\x04base\x18\x01 \x01(\v2-.splitsecure.oasis.saml.v2.RoleDescriptorTypeR\x04base\x12H\n" + + "\rauthz_service\x18\x02 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\fauthzService\x12d\n" + + "\x1cassertion_id_request_service\x18\x03 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x19assertionIdRequestService\x12$\n" + + "\x0ename_id_format\x18\x04 \x03(\tR\fnameIdFormatB\x85\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x12PdpDescriptorProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_goTypes = []any{ + (*PDPDescriptor)(nil), // 0: splitsecure.oasis.saml.v2.PDPDescriptor + (*RoleDescriptorType)(nil), // 1: splitsecure.oasis.saml.v2.RoleDescriptorType + (*Endpoint)(nil), // 2: splitsecure.oasis.saml.v2.Endpoint +} +var file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.PDPDescriptor.base:type_name -> splitsecure.oasis.saml.v2.RoleDescriptorType + 2, // 1: splitsecure.oasis.saml.v2.PDPDescriptor.authz_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 2, // 2: splitsecure.oasis.saml.v2.PDPDescriptor.assertion_id_request_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_init() } +func file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_init() { + if File_splitsecure_oasis_saml_v2_pdp_descriptor_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_endpoint_proto_init() + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_pdp_descriptor_proto = out.File + file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_pdp_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/requested_attribute.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/requested_attribute.pb.go new file mode 100644 index 0000000..f06e550 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/requested_attribute.pb.go @@ -0,0 +1,139 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/requested_attribute.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// RequestedAttribute describes an attribute requested by a service +type RequestedAttribute struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Attribute definition + Attribute *Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"` + // Optional: is required + IsRequired bool `protobuf:"varint,2,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequestedAttribute) Reset() { + *x = RequestedAttribute{} + mi := &file_splitsecure_oasis_saml_v2_requested_attribute_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequestedAttribute) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequestedAttribute) ProtoMessage() {} + +func (x *RequestedAttribute) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_requested_attribute_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequestedAttribute.ProtoReflect.Descriptor instead. +func (*RequestedAttribute) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDescGZIP(), []int{0} +} + +func (x *RequestedAttribute) GetAttribute() *Attribute { + if x != nil { + return x.Attribute + } + return nil +} + +func (x *RequestedAttribute) GetIsRequired() bool { + if x != nil { + return x.IsRequired + } + return false +} + +var File_splitsecure_oasis_saml_v2_requested_attribute_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDesc = "" + + "\n" + + "3splitsecure/oasis/saml/v2/requested_attribute.proto\x12\x19splitsecure.oasis.saml.v2\x1a)splitsecure/oasis/saml/v2/attribute.proto\"y\n" + + "\x12RequestedAttribute\x12B\n" + + "\tattribute\x18\x01 \x01(\v2$.splitsecure.oasis.saml.v2.AttributeR\tattribute\x12\x1f\n" + + "\vis_required\x18\x02 \x01(\bR\n" + + "isRequiredB\x8a\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x17RequestedAttributeProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_requested_attribute_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_requested_attribute_proto_goTypes = []any{ + (*RequestedAttribute)(nil), // 0: splitsecure.oasis.saml.v2.RequestedAttribute + (*Attribute)(nil), // 1: splitsecure.oasis.saml.v2.Attribute +} +var file_splitsecure_oasis_saml_v2_requested_attribute_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.RequestedAttribute.attribute:type_name -> splitsecure.oasis.saml.v2.Attribute + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_requested_attribute_proto_init() } +func file_splitsecure_oasis_saml_v2_requested_attribute_proto_init() { + if File_splitsecure_oasis_saml_v2_requested_attribute_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_attribute_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_requested_attribute_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_requested_attribute_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_requested_attribute_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_requested_attribute_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_requested_attribute_proto = out.File + file_splitsecure_oasis_saml_v2_requested_attribute_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_requested_attribute_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/role_descriptor_type.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/role_descriptor_type.pb.go new file mode 100644 index 0000000..7979541 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/role_descriptor_type.pb.go @@ -0,0 +1,237 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/role_descriptor_type.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// RoleDescriptorType is the base type for all role descriptors +type RoleDescriptorType struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Optional: signature over the descriptor + Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + // Optional: extension elements + Extensions *Extensions `protobuf:"bytes,2,opt,name=extensions,proto3" json:"extensions,omitempty"` + // Optional: key descriptors + KeyDescriptor []*KeyDescriptor `protobuf:"bytes,3,rep,name=key_descriptor,json=keyDescriptor,proto3" json:"key_descriptor,omitempty"` + // Optional: organization + Organization *Organization `protobuf:"bytes,4,opt,name=organization,proto3" json:"organization,omitempty"` + // Optional: contact persons + ContactPerson []*ContactPerson `protobuf:"bytes,5,rep,name=contact_person,json=contactPerson,proto3" json:"contact_person,omitempty"` + // Optional: protocol support enumeration (required, space-separated URIs) + ProtocolSupportEnumeration []string `protobuf:"bytes,6,rep,name=protocol_support_enumeration,json=protocolSupportEnumeration,proto3" json:"protocol_support_enumeration,omitempty"` + // Optional: error URL + ErrorUrl string `protobuf:"bytes,7,opt,name=error_url,json=errorUrl,proto3" json:"error_url,omitempty"` + // Optional: validity period + ValidUntil *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=valid_until,json=validUntil,proto3" json:"valid_until,omitempty"` + // Optional: cache duration + CacheDuration *durationpb.Duration `protobuf:"bytes,9,opt,name=cache_duration,json=cacheDuration,proto3" json:"cache_duration,omitempty"` + // Optional: ID attribute + Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RoleDescriptorType) Reset() { + *x = RoleDescriptorType{} + mi := &file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RoleDescriptorType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoleDescriptorType) ProtoMessage() {} + +func (x *RoleDescriptorType) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoleDescriptorType.ProtoReflect.Descriptor instead. +func (*RoleDescriptorType) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDescGZIP(), []int{0} +} + +func (x *RoleDescriptorType) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *RoleDescriptorType) GetExtensions() *Extensions { + if x != nil { + return x.Extensions + } + return nil +} + +func (x *RoleDescriptorType) GetKeyDescriptor() []*KeyDescriptor { + if x != nil { + return x.KeyDescriptor + } + return nil +} + +func (x *RoleDescriptorType) GetOrganization() *Organization { + if x != nil { + return x.Organization + } + return nil +} + +func (x *RoleDescriptorType) GetContactPerson() []*ContactPerson { + if x != nil { + return x.ContactPerson + } + return nil +} + +func (x *RoleDescriptorType) GetProtocolSupportEnumeration() []string { + if x != nil { + return x.ProtocolSupportEnumeration + } + return nil +} + +func (x *RoleDescriptorType) GetErrorUrl() string { + if x != nil { + return x.ErrorUrl + } + return "" +} + +func (x *RoleDescriptorType) GetValidUntil() *timestamppb.Timestamp { + if x != nil { + return x.ValidUntil + } + return nil +} + +func (x *RoleDescriptorType) GetCacheDuration() *durationpb.Duration { + if x != nil { + return x.CacheDuration + } + return nil +} + +func (x *RoleDescriptorType) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +var File_splitsecure_oasis_saml_v2_role_descriptor_type_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDesc = "" + + "\n" + + "4splitsecure/oasis/saml/v2/role_descriptor_type.proto\x12\x19splitsecure.oasis.saml.v2\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.splitsecure/oasis/saml/v2/contact_person.proto\x1a*splitsecure/oasis/saml/v2/extensions.proto\x1a.splitsecure/oasis/saml/v2/key_descriptor.proto\x1a,splitsecure/oasis/saml/v2/organization.proto\"\xd6\x04\n" + + "\x12RoleDescriptorType\x12\x1c\n" + + "\tsignature\x18\x01 \x01(\fR\tsignature\x12E\n" + + "\n" + + "extensions\x18\x02 \x01(\v2%.splitsecure.oasis.saml.v2.ExtensionsR\n" + + "extensions\x12O\n" + + "\x0ekey_descriptor\x18\x03 \x03(\v2(.splitsecure.oasis.saml.v2.KeyDescriptorR\rkeyDescriptor\x12K\n" + + "\forganization\x18\x04 \x01(\v2'.splitsecure.oasis.saml.v2.OrganizationR\forganization\x12O\n" + + "\x0econtact_person\x18\x05 \x03(\v2(.splitsecure.oasis.saml.v2.ContactPersonR\rcontactPerson\x12@\n" + + "\x1cprotocol_support_enumeration\x18\x06 \x03(\tR\x1aprotocolSupportEnumeration\x12\x1b\n" + + "\terror_url\x18\a \x01(\tR\berrorUrl\x12;\n" + + "\vvalid_until\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\n" + + "validUntil\x12@\n" + + "\x0ecache_duration\x18\t \x01(\v2\x19.google.protobuf.DurationR\rcacheDuration\x12\x0e\n" + + "\x02id\x18\n" + + " \x01(\tR\x02idB\x8a\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x17RoleDescriptorTypeProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_goTypes = []any{ + (*RoleDescriptorType)(nil), // 0: splitsecure.oasis.saml.v2.RoleDescriptorType + (*Extensions)(nil), // 1: splitsecure.oasis.saml.v2.Extensions + (*KeyDescriptor)(nil), // 2: splitsecure.oasis.saml.v2.KeyDescriptor + (*Organization)(nil), // 3: splitsecure.oasis.saml.v2.Organization + (*ContactPerson)(nil), // 4: splitsecure.oasis.saml.v2.ContactPerson + (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 6: google.protobuf.Duration +} +var file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.RoleDescriptorType.extensions:type_name -> splitsecure.oasis.saml.v2.Extensions + 2, // 1: splitsecure.oasis.saml.v2.RoleDescriptorType.key_descriptor:type_name -> splitsecure.oasis.saml.v2.KeyDescriptor + 3, // 2: splitsecure.oasis.saml.v2.RoleDescriptorType.organization:type_name -> splitsecure.oasis.saml.v2.Organization + 4, // 3: splitsecure.oasis.saml.v2.RoleDescriptorType.contact_person:type_name -> splitsecure.oasis.saml.v2.ContactPerson + 5, // 4: splitsecure.oasis.saml.v2.RoleDescriptorType.valid_until:type_name -> google.protobuf.Timestamp + 6, // 5: splitsecure.oasis.saml.v2.RoleDescriptorType.cache_duration:type_name -> google.protobuf.Duration + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_init() } +func file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_init() { + if File_splitsecure_oasis_saml_v2_role_descriptor_type_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_contact_person_proto_init() + file_splitsecure_oasis_saml_v2_extensions_proto_init() + file_splitsecure_oasis_saml_v2_key_descriptor_proto_init() + file_splitsecure_oasis_saml_v2_organization_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_role_descriptor_type_proto = out.File + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor.pb.go new file mode 100644 index 0000000..076a22e --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/sp_sso_descriptor.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// SPSSODescriptor represents a Service Provider SSO descriptor +type SPSSODescriptor struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Base SSO descriptor fields + Base *SSODescriptorType `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + // Optional: whether the SP signs AuthnRequests + AuthnRequestsSigned bool `protobuf:"varint,2,opt,name=authn_requests_signed,json=authnRequestsSigned,proto3" json:"authn_requests_signed,omitempty"` + // Optional: whether the SP wants assertions to be signed + WantAssertionsSigned bool `protobuf:"varint,3,opt,name=want_assertions_signed,json=wantAssertionsSigned,proto3" json:"want_assertions_signed,omitempty"` + // Required: assertion consumer service endpoints (at least one) + AssertionConsumerService []*IndexedEndpoint `protobuf:"bytes,4,rep,name=assertion_consumer_service,json=assertionConsumerService,proto3" json:"assertion_consumer_service,omitempty"` + // Optional: attribute consuming services + AttributeConsumingService []*AttributeConsumingService `protobuf:"bytes,5,rep,name=attribute_consuming_service,json=attributeConsumingService,proto3" json:"attribute_consuming_service,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SPSSODescriptor) Reset() { + *x = SPSSODescriptor{} + mi := &file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SPSSODescriptor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SPSSODescriptor) ProtoMessage() {} + +func (x *SPSSODescriptor) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SPSSODescriptor.ProtoReflect.Descriptor instead. +func (*SPSSODescriptor) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDescGZIP(), []int{0} +} + +func (x *SPSSODescriptor) GetBase() *SSODescriptorType { + if x != nil { + return x.Base + } + return nil +} + +func (x *SPSSODescriptor) GetAuthnRequestsSigned() bool { + if x != nil { + return x.AuthnRequestsSigned + } + return false +} + +func (x *SPSSODescriptor) GetWantAssertionsSigned() bool { + if x != nil { + return x.WantAssertionsSigned + } + return false +} + +func (x *SPSSODescriptor) GetAssertionConsumerService() []*IndexedEndpoint { + if x != nil { + return x.AssertionConsumerService + } + return nil +} + +func (x *SPSSODescriptor) GetAttributeConsumingService() []*AttributeConsumingService { + if x != nil { + return x.AttributeConsumingService + } + return nil +} + +var File_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDesc = "" + + "\n" + + "1splitsecure/oasis/saml/v2/sp_sso_descriptor.proto\x12\x19splitsecure.oasis.saml.v2\x1a;splitsecure/oasis/saml/v2/attribute_consuming_service.proto\x1a0splitsecure/oasis/saml/v2/indexed_endpoint.proto\x1a3splitsecure/oasis/saml/v2/sso_descriptor_type.proto\"\x9d\x03\n" + + "\x0fSPSSODescriptor\x12@\n" + + "\x04base\x18\x01 \x01(\v2,.splitsecure.oasis.saml.v2.SSODescriptorTypeR\x04base\x122\n" + + "\x15authn_requests_signed\x18\x02 \x01(\bR\x13authnRequestsSigned\x124\n" + + "\x16want_assertions_signed\x18\x03 \x01(\bR\x14wantAssertionsSigned\x12h\n" + + "\x1aassertion_consumer_service\x18\x04 \x03(\v2*.splitsecure.oasis.saml.v2.IndexedEndpointR\x18assertionConsumerService\x12t\n" + + "\x1battribute_consuming_service\x18\x05 \x03(\v24.splitsecure.oasis.saml.v2.AttributeConsumingServiceR\x19attributeConsumingServiceB\x87\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x14SpSsoDescriptorProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_goTypes = []any{ + (*SPSSODescriptor)(nil), // 0: splitsecure.oasis.saml.v2.SPSSODescriptor + (*SSODescriptorType)(nil), // 1: splitsecure.oasis.saml.v2.SSODescriptorType + (*IndexedEndpoint)(nil), // 2: splitsecure.oasis.saml.v2.IndexedEndpoint + (*AttributeConsumingService)(nil), // 3: splitsecure.oasis.saml.v2.AttributeConsumingService +} +var file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.SPSSODescriptor.base:type_name -> splitsecure.oasis.saml.v2.SSODescriptorType + 2, // 1: splitsecure.oasis.saml.v2.SPSSODescriptor.assertion_consumer_service:type_name -> splitsecure.oasis.saml.v2.IndexedEndpoint + 3, // 2: splitsecure.oasis.saml.v2.SPSSODescriptor.attribute_consuming_service:type_name -> splitsecure.oasis.saml.v2.AttributeConsumingService + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_init() } +func file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_init() { + if File_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_attribute_consuming_service_proto_init() + file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_init() + file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto = out.File + file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_sp_sso_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/oasis/saml/v2/sso_descriptor_type.pb.go b/gen/go/proto/splitsecure/oasis/saml/v2/sso_descriptor_type.pb.go new file mode 100644 index 0000000..2cdc8a1 --- /dev/null +++ b/gen/go/proto/splitsecure/oasis/saml/v2/sso_descriptor_type.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) +// source: splitsecure/oasis/saml/v2/sso_descriptor_type.proto + +package samlv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// SSODescriptorType is the base type for SSO descriptors +type SSODescriptorType struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Base role descriptor fields + Base *RoleDescriptorType `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + // Optional: artifact resolution service endpoints + ArtifactResolutionService []*IndexedEndpoint `protobuf:"bytes,2,rep,name=artifact_resolution_service,json=artifactResolutionService,proto3" json:"artifact_resolution_service,omitempty"` + // Optional: single logout service endpoints + SingleLogoutService []*Endpoint `protobuf:"bytes,3,rep,name=single_logout_service,json=singleLogoutService,proto3" json:"single_logout_service,omitempty"` + // Optional: manage name ID service endpoints + ManageNameIdService []*Endpoint `protobuf:"bytes,4,rep,name=manage_name_id_service,json=manageNameIdService,proto3" json:"manage_name_id_service,omitempty"` + // Optional: supported name ID formats + NameIdFormat []string `protobuf:"bytes,5,rep,name=name_id_format,json=nameIdFormat,proto3" json:"name_id_format,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SSODescriptorType) Reset() { + *x = SSODescriptorType{} + mi := &file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SSODescriptorType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSODescriptorType) ProtoMessage() {} + +func (x *SSODescriptorType) ProtoReflect() protoreflect.Message { + mi := &file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSODescriptorType.ProtoReflect.Descriptor instead. +func (*SSODescriptorType) Descriptor() ([]byte, []int) { + return file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDescGZIP(), []int{0} +} + +func (x *SSODescriptorType) GetBase() *RoleDescriptorType { + if x != nil { + return x.Base + } + return nil +} + +func (x *SSODescriptorType) GetArtifactResolutionService() []*IndexedEndpoint { + if x != nil { + return x.ArtifactResolutionService + } + return nil +} + +func (x *SSODescriptorType) GetSingleLogoutService() []*Endpoint { + if x != nil { + return x.SingleLogoutService + } + return nil +} + +func (x *SSODescriptorType) GetManageNameIdService() []*Endpoint { + if x != nil { + return x.ManageNameIdService + } + return nil +} + +func (x *SSODescriptorType) GetNameIdFormat() []string { + if x != nil { + return x.NameIdFormat + } + return nil +} + +var File_splitsecure_oasis_saml_v2_sso_descriptor_type_proto protoreflect.FileDescriptor + +const file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDesc = "" + + "\n" + + "3splitsecure/oasis/saml/v2/sso_descriptor_type.proto\x12\x19splitsecure.oasis.saml.v2\x1a(splitsecure/oasis/saml/v2/endpoint.proto\x1a0splitsecure/oasis/saml/v2/indexed_endpoint.proto\x1a4splitsecure/oasis/saml/v2/role_descriptor_type.proto\"\x9b\x03\n" + + "\x11SSODescriptorType\x12A\n" + + "\x04base\x18\x01 \x01(\v2-.splitsecure.oasis.saml.v2.RoleDescriptorTypeR\x04base\x12j\n" + + "\x1bartifact_resolution_service\x18\x02 \x03(\v2*.splitsecure.oasis.saml.v2.IndexedEndpointR\x19artifactResolutionService\x12W\n" + + "\x15single_logout_service\x18\x03 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x13singleLogoutService\x12X\n" + + "\x16manage_name_id_service\x18\x04 \x03(\v2#.splitsecure.oasis.saml.v2.EndpointR\x13manageNameIdService\x12$\n" + + "\x0ename_id_format\x18\x05 \x03(\tR\fnameIdFormatB\x89\x02\n" + + "\x1dcom.splitsecure.oasis.saml.v2B\x16SsoDescriptorTypeProtoP\x01ZIgithub.com/splitsecure/apis/gen/go/proto/splitsecure/oasis/saml/v2;samlv2\xa2\x02\x03SOS\xaa\x02\x19Splitsecure.Oasis.Saml.V2\xca\x02\x19Splitsecure\\Oasis\\Saml\\V2\xe2\x02%Splitsecure\\Oasis\\Saml\\V2\\GPBMetadata\xea\x02\x1cSplitsecure::Oasis::Saml::V2b\x06proto3" + +var ( + file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDescOnce sync.Once + file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDescData []byte +) + +func file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDescGZIP() []byte { + file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDescOnce.Do(func() { + file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDesc))) + }) + return file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDescData +} + +var file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_goTypes = []any{ + (*SSODescriptorType)(nil), // 0: splitsecure.oasis.saml.v2.SSODescriptorType + (*RoleDescriptorType)(nil), // 1: splitsecure.oasis.saml.v2.RoleDescriptorType + (*IndexedEndpoint)(nil), // 2: splitsecure.oasis.saml.v2.IndexedEndpoint + (*Endpoint)(nil), // 3: splitsecure.oasis.saml.v2.Endpoint +} +var file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_depIdxs = []int32{ + 1, // 0: splitsecure.oasis.saml.v2.SSODescriptorType.base:type_name -> splitsecure.oasis.saml.v2.RoleDescriptorType + 2, // 1: splitsecure.oasis.saml.v2.SSODescriptorType.artifact_resolution_service:type_name -> splitsecure.oasis.saml.v2.IndexedEndpoint + 3, // 2: splitsecure.oasis.saml.v2.SSODescriptorType.single_logout_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 3, // 3: splitsecure.oasis.saml.v2.SSODescriptorType.manage_name_id_service:type_name -> splitsecure.oasis.saml.v2.Endpoint + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_init() } +func file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_init() { + if File_splitsecure_oasis_saml_v2_sso_descriptor_type_proto != nil { + return + } + file_splitsecure_oasis_saml_v2_endpoint_proto_init() + file_splitsecure_oasis_saml_v2_indexed_endpoint_proto_init() + file_splitsecure_oasis_saml_v2_role_descriptor_type_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDesc), len(file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_goTypes, + DependencyIndexes: file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_depIdxs, + MessageInfos: file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_msgTypes, + }.Build() + File_splitsecure_oasis_saml_v2_sso_descriptor_type_proto = out.File + file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_goTypes = nil + file_splitsecure_oasis_saml_v2_sso_descriptor_type_proto_depIdxs = nil +} diff --git a/gen/go/proto/splitsecure/teamresource/v1/base_resource_attributes.pb.go b/gen/go/proto/splitsecure/teamresource/v1/base_resource_attributes.pb.go index 73cfdc2..08ca445 100644 --- a/gen/go/proto/splitsecure/teamresource/v1/base_resource_attributes.pb.go +++ b/gen/go/proto/splitsecure/teamresource/v1/base_resource_attributes.pb.go @@ -29,8 +29,17 @@ type BaseResourceAttributes struct { NotificationPolicy NotificationPolicy `protobuf:"varint,3,opt,name=notification_policy,json=notificationPolicy,proto3,enum=splitsecure.teamresource.v1.NotificationPolicy" json:"notification_policy,omitempty"` Sensitivity *AccountSensitivity `protobuf:"bytes,4,opt,name=sensitivity,proto3" json:"sensitivity,omitempty"` ProposalId []byte `protobuf:"bytes,5,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + // requested_parent_node_id is the vault-tree node the creator asked to file + // this resource under. It rides in the quorum-signed part of a create + // request so approvers and the audit trail see the creator's own placement + // statement; empty requests the root of the resource's vault, which is also + // the persist-time fallback when the requested parent no longer exists. + // This is a birth-time request, not a live pointer: the node can be moved + // afterwards without a new ceremony, and nothing keeps this field in sync + // with the tree. + RequestedParentNodeId string `protobuf:"bytes,6,opt,name=requested_parent_node_id,json=requestedParentNodeId,proto3" json:"requested_parent_node_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BaseResourceAttributes) Reset() { @@ -98,18 +107,26 @@ func (x *BaseResourceAttributes) GetProposalId() []byte { return nil } +func (x *BaseResourceAttributes) GetRequestedParentNodeId() string { + if x != nil { + return x.RequestedParentNodeId + } + return "" +} + var File_splitsecure_teamresource_v1_base_resource_attributes_proto protoreflect.FileDescriptor const file_splitsecure_teamresource_v1_base_resource_attributes_proto_rawDesc = "" + "\n" + - ":splitsecure/teamresource/v1/base_resource_attributes.proto\x12\x1bsplitsecure.teamresource.v1\x1a5splitsecure/teamresource/v1/account_sensitivity.proto\x1a5splitsecure/teamresource/v1/notification_policy.proto\"\xa4\x02\n" + + ":splitsecure/teamresource/v1/base_resource_attributes.proto\x12\x1bsplitsecure.teamresource.v1\x1a5splitsecure/teamresource/v1/account_sensitivity.proto\x1a5splitsecure/teamresource/v1/notification_policy.proto\"\xdd\x02\n" + "\x16BaseResourceAttributes\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12 \n" + "\vdescription\x18\x02 \x01(\tR\vdescription\x12`\n" + "\x13notification_policy\x18\x03 \x01(\x0e2/.splitsecure.teamresource.v1.NotificationPolicyR\x12notificationPolicy\x12Q\n" + "\vsensitivity\x18\x04 \x01(\v2/.splitsecure.teamresource.v1.AccountSensitivityR\vsensitivity\x12\x1f\n" + "\vproposal_id\x18\x05 \x01(\fR\n" + - "proposalIdB\xa1\x02\n" + + "proposalId\x127\n" + + "\x18requested_parent_node_id\x18\x06 \x01(\tR\x15requestedParentNodeIdB\xa1\x02\n" + "\x1fcom.splitsecure.teamresource.v1B\x1bBaseResourceAttributesProtoP\x01ZSgithub.com/splitsecure/apis/gen/go/proto/splitsecure/teamresource/v1;teamresourcev1\xa2\x02\x03STX\xaa\x02\x1bSplitsecure.Teamresource.V1\xca\x02\x1bSplitsecure\\Teamresource\\V1\xe2\x02'Splitsecure\\Teamresource\\V1\\GPBMetadata\xea\x02\x1dSplitsecure::Teamresource::V1b\x06proto3" var ( diff --git a/proto/splitsecure/keys/v1/asymmetric_encryption_spec.proto b/proto/splitsecure/keys/v1/asymmetric_encryption_spec.proto new file mode 100644 index 0000000..a5d16ac --- /dev/null +++ b/proto/splitsecure/keys/v1/asymmetric_encryption_spec.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; +package splitsecure.keys.v1; + +import "splitsecure/keys/v1/rsa.proto"; + +message AsymmetricEncryptionSpec { + oneof union { + RSA rsa = 1; + } +} diff --git a/proto/splitsecure/keys/v1/spec.proto b/proto/splitsecure/keys/v1/spec.proto index f328bc7..5a8a514 100644 --- a/proto/splitsecure/keys/v1/spec.proto +++ b/proto/splitsecure/keys/v1/spec.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package splitsecure.keys.v1; +import "splitsecure/keys/v1/asymmetric_encryption_spec.proto"; import "splitsecure/keys/v1/diffie_hellman_spec.proto"; import "splitsecure/keys/v1/key_encapsulation_spec.proto"; import "splitsecure/keys/v1/signature_spec.proto"; @@ -12,5 +13,6 @@ message Spec { SignatureSpec signature = 2; DiffieHellmanSpec diffie_hellman = 3; KeyEncapsulationSpec key_encapsulation = 4; + AsymmetricEncryptionSpec asymmetric_encryption = 5; } } diff --git a/proto/splitsecure/oasis/saml/v2/additional_metadata_location.proto b/proto/splitsecure/oasis/saml/v2/additional_metadata_location.proto new file mode 100644 index 0000000..a552b59 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/additional_metadata_location.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +// AdditionalMetadataLocation points to additional metadata +message AdditionalMetadataLocation { + // Required: namespace + string namespace = 1; + + // Required: location URI + string location = 2; +} diff --git a/proto/splitsecure/oasis/saml/v2/affiliation_descriptor.proto b/proto/splitsecure/oasis/saml/v2/affiliation_descriptor.proto new file mode 100644 index 0000000..947982c --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/affiliation_descriptor.proto @@ -0,0 +1,34 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "splitsecure/oasis/saml/v2/extensions.proto"; +import "splitsecure/oasis/saml/v2/key_descriptor.proto"; + +// AffiliationDescriptor describes an affiliation of entities +message AffiliationDescriptor { + // Required: affiliation owner ID + string affiliation_owner_id = 1; + + // Optional: signature + bytes signature = 2; + + // Optional: extensions + Extensions extensions = 3; + + // Required: affiliated member entity IDs (at least one) + repeated string affiliate_member = 4; + + // Optional: key descriptors + repeated KeyDescriptor key_descriptor = 5; + + // Optional: validity period + google.protobuf.Timestamp valid_until = 6; + + // Optional: cache duration + google.protobuf.Duration cache_duration = 7; + + // Optional: ID attribute + string id = 8; +} diff --git a/proto/splitsecure/oasis/saml/v2/attribute.proto b/proto/splitsecure/oasis/saml/v2/attribute.proto new file mode 100644 index 0000000..83eebb2 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/attribute.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +// Attribute represents a SAML attribute +message Attribute { + // Required: attribute name + string name = 1; + + // Optional: name format + string name_format = 2; + + // Optional: friendly name + string friendly_name = 3; + + // Optional: attribute values + repeated string attribute_value = 4; +} diff --git a/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor.proto b/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor.proto new file mode 100644 index 0000000..1085010 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/attribute_authority_descriptor.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/attribute.proto"; +import "splitsecure/oasis/saml/v2/endpoint.proto"; +import "splitsecure/oasis/saml/v2/role_descriptor_type.proto"; + +// AttributeAuthorityDescriptor represents an Attribute Authority descriptor +message AttributeAuthorityDescriptor { + // Base role descriptor fields + RoleDescriptorType base = 1; + + // Required: attribute service endpoints (at least one) + repeated Endpoint attribute_service = 2; + + // Optional: assertion ID request service endpoints + repeated Endpoint assertion_id_request_service = 3; + + // Optional: supported name ID formats + repeated string name_id_format = 4; + + // Optional: supported attribute profiles + repeated string attribute_profile = 5; + + // Optional: supported attributes + repeated Attribute attribute = 6; +} diff --git a/proto/splitsecure/oasis/saml/v2/attribute_consuming_service.proto b/proto/splitsecure/oasis/saml/v2/attribute_consuming_service.proto new file mode 100644 index 0000000..b869b0c --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/attribute_consuming_service.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/localized_name.proto"; +import "splitsecure/oasis/saml/v2/requested_attribute.proto"; + +// AttributeConsumingService describes a service that consumes attributes +message AttributeConsumingService { + // Required: index + uint32 index = 1; + + // Optional: is default + bool is_default = 2; + + // Required: service names (at least one, with language tags) + repeated LocalizedName service_name = 3; + + // Optional: service descriptions (with language tags) + repeated LocalizedName service_description = 4; + + // Required: requested attributes (at least one) + repeated RequestedAttribute requested_attribute = 5; +} diff --git a/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor.proto b/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor.proto new file mode 100644 index 0000000..fa2d4fa --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/authn_authority_descriptor.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/endpoint.proto"; +import "splitsecure/oasis/saml/v2/role_descriptor_type.proto"; + +// AuthnAuthorityDescriptor represents an Authentication Authority descriptor +message AuthnAuthorityDescriptor { + // Base role descriptor fields + RoleDescriptorType base = 1; + + // Required: authentication query service endpoints (at least one) + repeated Endpoint authn_query_service = 2; + + // Optional: assertion ID request service endpoints + repeated Endpoint assertion_id_request_service = 3; + + // Optional: supported name ID formats + repeated string name_id_format = 4; +} diff --git a/proto/splitsecure/oasis/saml/v2/contact_person.proto b/proto/splitsecure/oasis/saml/v2/contact_person.proto new file mode 100644 index 0000000..f2e41a7 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/contact_person.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/contact_type.proto"; +import "splitsecure/oasis/saml/v2/extensions.proto"; + +// ContactPerson describes a contact person +message ContactPerson { + // Required: contact type + ContactType contact_type = 1; + + // Optional: extensions + Extensions extensions = 2; + + // Optional: company + string company = 3; + + // Optional: given name + string given_name = 4; + + // Optional: surname + string surname = 5; + + // Optional: email addresses + repeated string email_address = 6; + + // Optional: telephone numbers + repeated string telephone_number = 7; +} diff --git a/proto/splitsecure/oasis/saml/v2/contact_type.proto b/proto/splitsecure/oasis/saml/v2/contact_type.proto new file mode 100644 index 0000000..52c03bf --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/contact_type.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +enum ContactType { + CONTACT_TYPE_UNSPECIFIED = 0; + CONTACT_TYPE_TECHNICAL = 1; + CONTACT_TYPE_SUPPORT = 2; + CONTACT_TYPE_ADMINISTRATIVE = 3; + CONTACT_TYPE_BILLING = 4; + CONTACT_TYPE_OTHER = 5; +} diff --git a/proto/splitsecure/oasis/saml/v2/encryption_method.proto b/proto/splitsecure/oasis/saml/v2/encryption_method.proto new file mode 100644 index 0000000..f4be454 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/encryption_method.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +// EncryptionMethod describes an encryption algorithm +message EncryptionMethod { + // Required: algorithm URI + string algorithm = 1; + + // Optional: key size + int32 key_size = 2; + + // Optional: OAEP parameters + bytes oaep_params = 3; +} diff --git a/proto/splitsecure/oasis/saml/v2/endpoint.proto b/proto/splitsecure/oasis/saml/v2/endpoint.proto new file mode 100644 index 0000000..2035482 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/endpoint.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +// Endpoint represents a SAML endpoint +message Endpoint { + // Required: binding URI + string binding = 1; + + // Required: location URI + string location = 2; + + // Optional: response location URI + string response_location = 3; +} diff --git a/proto/splitsecure/oasis/saml/v2/entities_descriptor.proto b/proto/splitsecure/oasis/saml/v2/entities_descriptor.proto new file mode 100644 index 0000000..4257574 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/entities_descriptor.proto @@ -0,0 +1,32 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "splitsecure/oasis/saml/v2/entity_descriptor.proto"; +import "splitsecure/oasis/saml/v2/extensions.proto"; + +// EntitiesDescriptor represents a collection of entities +message EntitiesDescriptor { + // Optional: signature over the descriptor + bytes signature = 1; + + // Optional: extension elements + Extensions extensions = 2; + + // Child entity or entities descriptors (at least one required) + repeated EntityDescriptor entity_descriptor = 3; + repeated EntitiesDescriptor entities_descriptor = 4; + + // Optional: validity period + google.protobuf.Timestamp valid_until = 5; + + // Optional: cache duration + google.protobuf.Duration cache_duration = 6; + + // Optional: name + string name = 7; + + // Optional: ID attribute + string id = 8; +} diff --git a/proto/splitsecure/oasis/saml/v2/entity_descriptor.proto b/proto/splitsecure/oasis/saml/v2/entity_descriptor.proto new file mode 100644 index 0000000..858b855 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/entity_descriptor.proto @@ -0,0 +1,55 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "splitsecure/oasis/saml/v2/additional_metadata_location.proto"; +import "splitsecure/oasis/saml/v2/affiliation_descriptor.proto"; +import "splitsecure/oasis/saml/v2/attribute_authority_descriptor.proto"; +import "splitsecure/oasis/saml/v2/authn_authority_descriptor.proto"; +import "splitsecure/oasis/saml/v2/contact_person.proto"; +import "splitsecure/oasis/saml/v2/extensions.proto"; +import "splitsecure/oasis/saml/v2/idp_sso_descriptor.proto"; +import "splitsecure/oasis/saml/v2/organization.proto"; +import "splitsecure/oasis/saml/v2/pdp_descriptor.proto"; +import "splitsecure/oasis/saml/v2/sp_sso_descriptor.proto"; + +// EntityDescriptor represents a SAML entity (IdP or SP) +message EntityDescriptor { + // Required: unique identifier for the entity (max 1024 chars) + string entity_id = 1; + + // Optional: signature over the descriptor + bytes signature = 2; + + // Optional: extension elements + Extensions extensions = 3; + + // Role descriptors - at least one required + repeated IDPSSODescriptor idp_sso_descriptor = 4; + repeated SPSSODescriptor sp_sso_descriptor = 5; + repeated AuthnAuthorityDescriptor authn_authority_descriptor = 6; + repeated AttributeAuthorityDescriptor attribute_authority_descriptor = 7; + repeated PDPDescriptor pdp_descriptor = 8; + + // Alternative: affiliation descriptor (mutually exclusive with role descriptors) + AffiliationDescriptor affiliation_descriptor = 9; + + // Optional: organization information + Organization organization = 10; + + // Optional: contact persons + repeated ContactPerson contact_person = 11; + + // Optional: additional metadata locations + repeated AdditionalMetadataLocation additional_metadata_location = 12; + + // Optional: validity period + google.protobuf.Timestamp valid_until = 13; + + // Optional: cache duration + google.protobuf.Duration cache_duration = 14; + + // Optional: ID attribute + string id = 15; +} diff --git a/proto/splitsecure/oasis/saml/v2/extension.proto b/proto/splitsecure/oasis/saml/v2/extension.proto new file mode 100644 index 0000000..ad91d83 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/extension.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +// Extension represents a single extension element +message Extension { + // Extension namespace + string namespace = 1; + + // Extension local name + string local_name = 2; + + // Extension data (raw XML or serialized proto) + bytes data = 3; +} diff --git a/proto/splitsecure/oasis/saml/v2/extensions.proto b/proto/splitsecure/oasis/saml/v2/extensions.proto new file mode 100644 index 0000000..c3c8fb8 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/extensions.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/extension.proto"; + +// Extensions represents extension elements +message Extensions { + // Arbitrary extension data (could be structured or raw XML) + repeated Extension extension = 1; +} diff --git a/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor.proto b/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor.proto new file mode 100644 index 0000000..9e7547e --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/idp_sso_descriptor.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/attribute.proto"; +import "splitsecure/oasis/saml/v2/endpoint.proto"; +import "splitsecure/oasis/saml/v2/sso_descriptor_type.proto"; + +// IDPSSODescriptor represents an Identity Provider SSO descriptor +message IDPSSODescriptor { + // Base SSO descriptor fields + SSODescriptorType base = 1; + + // Optional: whether the IdP wants AuthnRequests to be signed + bool want_authn_requests_signed = 2; + + // Required: single sign-on service endpoints (at least one) + repeated Endpoint single_sign_on_service = 3; + + // Optional: name ID mapping service endpoints + repeated Endpoint name_id_mapping_service = 4; + + // Optional: assertion ID request service endpoints + repeated Endpoint assertion_id_request_service = 5; + + // Optional: supported attribute profiles + repeated string attribute_profile = 6; + + // Optional: supported attributes + repeated Attribute attribute = 7; +} diff --git a/proto/splitsecure/oasis/saml/v2/indexed_endpoint.proto b/proto/splitsecure/oasis/saml/v2/indexed_endpoint.proto new file mode 100644 index 0000000..c873f0a --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/indexed_endpoint.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/endpoint.proto"; + +// IndexedEndpoint represents an indexed SAML endpoint +message IndexedEndpoint { + // Base endpoint fields + Endpoint base = 1; + + // Required: index + uint32 index = 2; + + // Optional: is default + bool is_default = 3; +} diff --git a/proto/splitsecure/oasis/saml/v2/key_descriptor.proto b/proto/splitsecure/oasis/saml/v2/key_descriptor.proto new file mode 100644 index 0000000..6b7b7ae --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/key_descriptor.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/encryption_method.proto"; +import "splitsecure/oasis/saml/v2/key_info.proto"; +import "splitsecure/oasis/saml/v2/key_type.proto"; + +// KeyDescriptor describes a cryptographic key +message KeyDescriptor { + // Optional: key use (signing or encryption) + KeyType use = 1; + + // Required: key information (X.509 certificate, etc.) + KeyInfo key_info = 2; + + // Optional: encryption methods supported + repeated EncryptionMethod encryption_method = 3; +} diff --git a/proto/splitsecure/oasis/saml/v2/key_info.proto b/proto/splitsecure/oasis/saml/v2/key_info.proto new file mode 100644 index 0000000..7457dda --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/key_info.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +// KeyInfo represents key information (simplified from XML dsig) +message KeyInfo { + // X.509 certificate data + bytes x509_certificate = 1; + + // Optional: key name + string key_name = 2; + + // Optional: raw key value + bytes key_value = 3; +} diff --git a/proto/splitsecure/oasis/saml/v2/key_type.proto b/proto/splitsecure/oasis/saml/v2/key_type.proto new file mode 100644 index 0000000..d9340b1 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/key_type.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +enum KeyType { + KEY_TYPE_UNSPECIFIED = 0; + KEY_TYPE_SIGNING = 1; + KEY_TYPE_ENCRYPTION = 2; +} diff --git a/proto/splitsecure/oasis/saml/v2/localized_name.proto b/proto/splitsecure/oasis/saml/v2/localized_name.proto new file mode 100644 index 0000000..8737576 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/localized_name.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +// LocalizedName represents a name with language tag +message LocalizedName { + // Required: name value + string value = 1; + + // Required: language tag (e.g., "en", "es") + string lang = 2; +} diff --git a/proto/splitsecure/oasis/saml/v2/localized_uri.proto b/proto/splitsecure/oasis/saml/v2/localized_uri.proto new file mode 100644 index 0000000..b2a407e --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/localized_uri.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +// LocalizedURI represents a URI with language tag +message LocalizedURI { + // Required: URI value + string value = 1; + + // Required: language tag (e.g., "en", "es") + string lang = 2; +} diff --git a/proto/splitsecure/oasis/saml/v2/metadata.proto b/proto/splitsecure/oasis/saml/v2/metadata.proto new file mode 100644 index 0000000..c2a9199 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/metadata.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/entity_descriptor.proto"; + +// Metadata is the top-level wrapper for SAML metadata. +message Metadata { + oneof content { + EntityDescriptor entity_descriptor = 1; + // EntitiesDescriptor entities_descriptor = 2; + } +} diff --git a/proto/splitsecure/oasis/saml/v2/organization.proto b/proto/splitsecure/oasis/saml/v2/organization.proto new file mode 100644 index 0000000..96457fb --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/organization.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/extensions.proto"; +import "splitsecure/oasis/saml/v2/localized_name.proto"; +import "splitsecure/oasis/saml/v2/localized_uri.proto"; + +// Organization describes an organization +message Organization { + // Optional: extensions + Extensions extensions = 1; + + // Required: organization names (at least one, with language tags) + repeated LocalizedName organization_name = 2; + + // Required: organization display names (at least one, with language tags) + repeated LocalizedName organization_display_name = 3; + + // Required: organization URLs (at least one, with language tags) + repeated LocalizedURI organization_url = 4; +} diff --git a/proto/splitsecure/oasis/saml/v2/pdp_descriptor.proto b/proto/splitsecure/oasis/saml/v2/pdp_descriptor.proto new file mode 100644 index 0000000..e64cc1e --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/pdp_descriptor.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/endpoint.proto"; +import "splitsecure/oasis/saml/v2/role_descriptor_type.proto"; + +// PDPDescriptor represents a Policy Decision Point descriptor +message PDPDescriptor { + // Base role descriptor fields + RoleDescriptorType base = 1; + + // Required: authorization service endpoints (at least one) + repeated Endpoint authz_service = 2; + + // Optional: assertion ID request service endpoints + repeated Endpoint assertion_id_request_service = 3; + + // Optional: supported name ID formats + repeated string name_id_format = 4; +} diff --git a/proto/splitsecure/oasis/saml/v2/requested_attribute.proto b/proto/splitsecure/oasis/saml/v2/requested_attribute.proto new file mode 100644 index 0000000..d9d2ca0 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/requested_attribute.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/attribute.proto"; + +// RequestedAttribute describes an attribute requested by a service +message RequestedAttribute { + // Attribute definition + Attribute attribute = 1; + + // Optional: is required + bool is_required = 2; +} diff --git a/proto/splitsecure/oasis/saml/v2/role_descriptor_type.proto b/proto/splitsecure/oasis/saml/v2/role_descriptor_type.proto new file mode 100644 index 0000000..82a4359 --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/role_descriptor_type.proto @@ -0,0 +1,42 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "splitsecure/oasis/saml/v2/contact_person.proto"; +import "splitsecure/oasis/saml/v2/extensions.proto"; +import "splitsecure/oasis/saml/v2/key_descriptor.proto"; +import "splitsecure/oasis/saml/v2/organization.proto"; + +// RoleDescriptorType is the base type for all role descriptors +message RoleDescriptorType { + // Optional: signature over the descriptor + bytes signature = 1; + + // Optional: extension elements + Extensions extensions = 2; + + // Optional: key descriptors + repeated KeyDescriptor key_descriptor = 3; + + // Optional: organization + Organization organization = 4; + + // Optional: contact persons + repeated ContactPerson contact_person = 5; + + // Optional: protocol support enumeration (required, space-separated URIs) + repeated string protocol_support_enumeration = 6; + + // Optional: error URL + string error_url = 7; + + // Optional: validity period + google.protobuf.Timestamp valid_until = 8; + + // Optional: cache duration + google.protobuf.Duration cache_duration = 9; + + // Optional: ID attribute + string id = 10; +} diff --git a/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor.proto b/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor.proto new file mode 100644 index 0000000..f8d5b9e --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/sp_sso_descriptor.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/attribute_consuming_service.proto"; +import "splitsecure/oasis/saml/v2/indexed_endpoint.proto"; +import "splitsecure/oasis/saml/v2/sso_descriptor_type.proto"; + +// SPSSODescriptor represents a Service Provider SSO descriptor +message SPSSODescriptor { + // Base SSO descriptor fields + SSODescriptorType base = 1; + + // Optional: whether the SP signs AuthnRequests + bool authn_requests_signed = 2; + + // Optional: whether the SP wants assertions to be signed + bool want_assertions_signed = 3; + + // Required: assertion consumer service endpoints (at least one) + repeated IndexedEndpoint assertion_consumer_service = 4; + + // Optional: attribute consuming services + repeated AttributeConsumingService attribute_consuming_service = 5; +} diff --git a/proto/splitsecure/oasis/saml/v2/sso_descriptor_type.proto b/proto/splitsecure/oasis/saml/v2/sso_descriptor_type.proto new file mode 100644 index 0000000..81b80ec --- /dev/null +++ b/proto/splitsecure/oasis/saml/v2/sso_descriptor_type.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; +package splitsecure.oasis.saml.v2; + +import "splitsecure/oasis/saml/v2/endpoint.proto"; +import "splitsecure/oasis/saml/v2/indexed_endpoint.proto"; +import "splitsecure/oasis/saml/v2/role_descriptor_type.proto"; + +// SSODescriptorType is the base type for SSO descriptors +message SSODescriptorType { + // Base role descriptor fields + RoleDescriptorType base = 1; + + // Optional: artifact resolution service endpoints + repeated IndexedEndpoint artifact_resolution_service = 2; + + // Optional: single logout service endpoints + repeated Endpoint single_logout_service = 3; + + // Optional: manage name ID service endpoints + repeated Endpoint manage_name_id_service = 4; + + // Optional: supported name ID formats + repeated string name_id_format = 5; +} diff --git a/proto/splitsecure/teamresource/v1/base_resource_attributes.proto b/proto/splitsecure/teamresource/v1/base_resource_attributes.proto index 96f3934..40d66af 100644 --- a/proto/splitsecure/teamresource/v1/base_resource_attributes.proto +++ b/proto/splitsecure/teamresource/v1/base_resource_attributes.proto @@ -11,4 +11,14 @@ message BaseResourceAttributes { splitsecure.teamresource.v1.NotificationPolicy notification_policy = 3; AccountSensitivity sensitivity = 4; bytes proposal_id = 5; + + // requested_parent_node_id is the vault-tree node the creator asked to file + // this resource under. It rides in the quorum-signed part of a create + // request so approvers and the audit trail see the creator's own placement + // statement; empty requests the root of the resource's vault, which is also + // the persist-time fallback when the requested parent no longer exists. + // This is a birth-time request, not a live pointer: the node can be moved + // afterwards without a new ceremony, and nothing keeps this field in sync + // with the tree. + string requested_parent_node_id = 6; } From 018ac743d7927b70a9f1eb20b1deb93d5cb7d95f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Tremblay?= <1619947+marctrem@users.noreply.github.com> Date: Thu, 16 Jul 2026 17:05:28 -0400 Subject: [PATCH 2/2] teamresource: add lineage_id and revision to BaseResourceAttributes Stable identity across supersession for v2 attested issuances: every edit is a new CREATE presenting its predecessor, all versions share one lineage. lineage_id is empty at genesis (a genesis record's lineage id is the domain-tagged digest of its own signed bytes) and enclave-stamped verbatim from the predecessor on a superseding CREATE; revision counts supersessions within the lineage. Both live in the quorum-signed bytes. --- .../v1/base_resource_attributes.proto | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/proto/splitsecure/teamresource/v1/base_resource_attributes.proto b/proto/splitsecure/teamresource/v1/base_resource_attributes.proto index 40d66af..07d741e 100644 --- a/proto/splitsecure/teamresource/v1/base_resource_attributes.proto +++ b/proto/splitsecure/teamresource/v1/base_resource_attributes.proto @@ -21,4 +21,20 @@ message BaseResourceAttributes { // afterwards without a new ceremony, and nothing keeps this field in sync // with the tree. string requested_parent_node_id = 6; + + // lineage_id identifies this resource's lineage across supersession + // (HashiCorp-style versioning): every edit is a new CREATE presenting its + // predecessor, and all versions of the "same" resource share one lineage. + // Empty at genesis — the enclave stamps this into the signed bytes only + // when a presented predecessor makes this a superseding CREATE, copying + // the predecessor's lineage_id verbatim. A record's true lineage id is + // therefore this field when non-empty, else the domain-tagged digest of + // its own signed issuance bytes (genesis IS its own lineage). Callers + // never set this directly; it is enclave-derived only. + bytes lineage_id = 7; + + // revision counts supersessions within a lineage: 0 at genesis, and the + // enclave stamps predecessor.revision + 1 into the signed bytes of each + // superseding CREATE. Callers never set this directly. + uint64 revision = 8; }