# Module `netapp_ontap.models.certificate_signing_request`

Copyright © 2023 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

## Classes

`class CertificateSigningRequestSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)`

  The fields of the CertificateSigningRequest object

  ### Ancestors

  - netapp_ontap.resource.ResourceSchema
  - marshmallow.schema.Schema
  - marshmallow.base.SchemaABC

  ### Class variables

  `algorithm: str GET POST`

    Asymmetric Encryption Algorithm.

    Valid choices:

    - rsa
    - ecc
  `csr: str GET`

    A Certificate Signing Request (CSR) provided to a CA for obtaining a CA-signed certificate.

  `extended_key_usages: List[str] GET POST PATCH`

    A list of extended key usage extensions.

  `generated_private_key: str GET`

    Private key generated for the CSR.

  `hash_function: str GET POST`

    Hashing function.

    Valid choices:

    - sha256
    - sha224
    - sha384
    - sha512
  `key_usages: List[str] GET POST PATCH`

    A list of key usage extensions.

  `links: SelfLink GET`

    The links field of the certificate_signing_request.

  `security_strength: Size GET POST`

    Security strength of the certificate in bits.

  `subject_alternatives: SubjectAlternateName GET POST`

    The subject_alternatives field of the certificate_signing_request.

  `subject_name: str GET POST`

    Subject name details of the certificate. The format is a list of comma separated key=value pairs.

    Example: C=US,O=NTAP,CN=test.domain.com