Skip to content

Commit

Permalink
add missing ec certificate key algorithms (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickcping authored Aug 31, 2022
1 parent b5f96e4 commit a43ed23
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* **Breaking change** Changed required attributes on the `Certificate` model [#35](https://github.com/patrickcping/pingone-go-sdk-v2/pull/35)
* **Enhancement** Support for Kerberos Gateway [#32](https://github.com/patrickcping/pingone-go-sdk-v2/pull/32)
* **Enhancement** `EnumCertificateKeyUsageType` includes missing enum values [#33](https://github.com/patrickcping/pingone-go-sdk-v2/pull/33)
* **Enhancement** `EnumCertificateKeySignagureAlgorithm` includes missing enum values [#33](https://github.com/patrickcping/pingone-go-sdk-v2/pull/33)
* **Enhancement** `EnumCertificateKeySignagureAlgorithm` includes missing enum values [#33](https://github.com/patrickcping/pingone-go-sdk-v2/pull/33), [#36](https://github.com/patrickcping/pingone-go-sdk-v2/pull/36)
* **Enhancement** Better define the Certificate Key update model [#34](https://github.com/patrickcping/pingone-go-sdk-v2/pull/34)

# Release (2022-08-29)
Expand Down
2 changes: 1 addition & 1 deletion management/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* **Breaking change** Changed required attributes on the `Certificate` model [#35](https://github.com/patrickcping/pingone-go-sdk-v2/pull/35)
* **Enhancement** Support for Kerberos Gateway [#32](https://github.com/patrickcping/pingone-go-sdk-v2/pull/32)
* **Enhancement** `EnumCertificateKeyUsageType` includes missing enum values [#33](https://github.com/patrickcping/pingone-go-sdk-v2/pull/33)
* **Enhancement** `EnumCertificateKeySignagureAlgorithm` includes missing enum values [#33](https://github.com/patrickcping/pingone-go-sdk-v2/pull/33)
* **Enhancement** `EnumCertificateKeySignagureAlgorithm` includes missing enum values [#33](https://github.com/patrickcping/pingone-go-sdk-v2/pull/33), [#36](https://github.com/patrickcping/pingone-go-sdk-v2/pull/36)
* **Enhancement** Better define the Certificate Key update model [#34](https://github.com/patrickcping/pingone-go-sdk-v2/pull/34)

# v0.6.0 (2022-08-29)
Expand Down
10 changes: 8 additions & 2 deletions management/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21140,13 +21140,19 @@ components:
- UNKNOWN
type: string
EnumCertificateKeySignagureAlgorithm:
description: "Specifies the signature algorithm of the key. Options are `SHA224withRSA`,\
\ `SHA256withRSA`, `SHA384withRSA` and `SHA512withRSA`."
description: "Specifies the signature algorithm of the key. For RSA keys, options\
\ are `SHA224withRSA`, `SHA256withRSA`, `SHA384withRSA` and `SHA512withRSA`.\
\ For elliptical curve (EC) keys, options are `SHA224with_ECDSA`, `SHA256with_ECDSA`,\
\ `SHA384with_ECDSA`, and `SHA512with_ECDSA`"
enum:
- SHA224withRSA
- SHA256withRSA
- SHA384withRSA
- SHA512withRSA
- SHA224with_ECDSA
- SHA256with_ECDSA
- SHA384with_ECDSA
- SHA512with_ECDSA
type: string
EnumCertificateKeyStatus:
description: "Specifies the status of the key. Options are `VALID`, `EXPIRED`,\
Expand Down
8 changes: 8 additions & 0 deletions management/docs/EnumCertificateKeySignagureAlgorithm.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@

* `SHA512WITH_RSA` (value: `"SHA512withRSA"`)

* `SHA224WITH_ECDSA` (value: `"SHA224with_ECDSA"`)

* `SHA256WITH_ECDSA` (value: `"SHA256with_ECDSA"`)

* `SHA384WITH_ECDSA` (value: `"SHA384with_ECDSA"`)

* `SHA512WITH_ECDSA` (value: `"SHA512with_ECDSA"`)


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
10 changes: 9 additions & 1 deletion management/model_enum_certificate_key_signagure_algorithm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pingone-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ components:
description: Specifies the key algorithm. Options are `RSA`, `EC`, and `UNKNOWN`.
EnumCertificateKeySignagureAlgorithm:
type: string
description: Specifies the signature algorithm of the key. Options are `SHA224withRSA`, `SHA256withRSA`, `SHA384withRSA` and `SHA512withRSA`.
enum: [SHA224withRSA, SHA256withRSA, SHA384withRSA, SHA512withRSA]
description: Specifies the signature algorithm of the key. For RSA keys, options are `SHA224withRSA`, `SHA256withRSA`, `SHA384withRSA` and `SHA512withRSA`. For elliptical curve (EC) keys, options are `SHA224with_ECDSA`, `SHA256with_ECDSA`, `SHA384with_ECDSA`, and `SHA512with_ECDSA`
enum: [SHA224withRSA, SHA256withRSA, SHA384withRSA, SHA512withRSA, SHA224with_ECDSA, SHA256with_ECDSA, SHA384with_ECDSA, SHA512with_ECDSA]
EnumCertificateKeyStatus:
type: string
description: Specifies the status of the key. Options are `VALID`, `EXPIRED`, `NOT_YET_VALID`, and `REVOKED`.
Expand Down

0 comments on commit a43ed23

Please sign in to comment.