diff options
Diffstat (limited to 'lib/unstable/Security/Signature/Exceptions')
10 files changed, 152 insertions, 0 deletions
diff --git a/lib/unstable/Security/Signature/Exceptions/IdentityNotFoundException.php b/lib/unstable/Security/Signature/Exceptions/IdentityNotFoundException.php new file mode 100644 index 00000000000..c8c700033e6 --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/IdentityNotFoundException.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +namespace NCU\Security\Signature\Exceptions; + +/** + * @experimental 31.0.0 + */ +class IdentityNotFoundException extends SignatureException { +} diff --git a/lib/unstable/Security/Signature/Exceptions/IncomingRequestException.php b/lib/unstable/Security/Signature/Exceptions/IncomingRequestException.php new file mode 100644 index 00000000000..c334090fdc3 --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/IncomingRequestException.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace NCU\Security\Signature\Exceptions; + +/** + * @experimental 31.0.0 + */ +class IncomingRequestException extends SignatureException { +} diff --git a/lib/unstable/Security/Signature/Exceptions/InvalidKeyOriginException.php b/lib/unstable/Security/Signature/Exceptions/InvalidKeyOriginException.php new file mode 100644 index 00000000000..3d8fa78077f --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/InvalidKeyOriginException.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace NCU\Security\Signature\Exceptions; + +/** + * @experimental 31.0.0 + */ +class InvalidKeyOriginException extends SignatureException { +} diff --git a/lib/unstable/Security/Signature/Exceptions/InvalidSignatureException.php b/lib/unstable/Security/Signature/Exceptions/InvalidSignatureException.php new file mode 100644 index 00000000000..351637ef201 --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/InvalidSignatureException.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace NCU\Security\Signature\Exceptions; + +/** + * @experimental 31.0.0 + */ +class InvalidSignatureException extends SignatureException { +} diff --git a/lib/unstable/Security/Signature/Exceptions/SignatoryConflictException.php b/lib/unstable/Security/Signature/Exceptions/SignatoryConflictException.php new file mode 100644 index 00000000000..e078071e970 --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/SignatoryConflictException.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +namespace NCU\Security\Signature\Exceptions; + +/** + * @experimental 31.0.0 + */ +class SignatoryConflictException extends SignatoryException { +} diff --git a/lib/unstable/Security/Signature/Exceptions/SignatoryException.php b/lib/unstable/Security/Signature/Exceptions/SignatoryException.php new file mode 100644 index 00000000000..92409ab3d98 --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/SignatoryException.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +namespace NCU\Security\Signature\Exceptions; + +/** + * @experimental 31.0.0 + */ +class SignatoryException extends SignatureException { +} diff --git a/lib/unstable/Security/Signature/Exceptions/SignatoryNotFoundException.php b/lib/unstable/Security/Signature/Exceptions/SignatoryNotFoundException.php new file mode 100644 index 00000000000..0234b3e7d5c --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/SignatoryNotFoundException.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +namespace NCU\Security\Signature\Exceptions; + +/** + * @experimental 31.0.0 + */ +class SignatoryNotFoundException extends SignatoryException { +} diff --git a/lib/unstable/Security/Signature/Exceptions/SignatureElementNotFoundException.php b/lib/unstable/Security/Signature/Exceptions/SignatureElementNotFoundException.php new file mode 100644 index 00000000000..ca0fa1c2194 --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/SignatureElementNotFoundException.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace NCU\Security\Signature\Exceptions; + +/** + * @experimental 31.0.0 + */ +class SignatureElementNotFoundException extends SignatureException { +} diff --git a/lib/unstable/Security/Signature/Exceptions/SignatureException.php b/lib/unstable/Security/Signature/Exceptions/SignatureException.php new file mode 100644 index 00000000000..12353a8e61b --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/SignatureException.php @@ -0,0 +1,17 @@ +<?php + +declare(strict_types=1); +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +namespace NCU\Security\Signature\Exceptions; + +use Exception; + +/** + * @experimental 31.0.0 + */ +class SignatureException extends Exception { +} diff --git a/lib/unstable/Security/Signature/Exceptions/SignatureNotFoundException.php b/lib/unstable/Security/Signature/Exceptions/SignatureNotFoundException.php new file mode 100644 index 00000000000..f015b07673b --- /dev/null +++ b/lib/unstable/Security/Signature/Exceptions/SignatureNotFoundException.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace NCU\Security\Signature\Exceptions; + +/** + * @experimental 31.0.0 + */ +class SignatureNotFoundException extends SignatureException { +} |