Class CertificateKeyType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<CertificateKeyType>
com.azure.security.keyvault.certificates.models.CertificateKeyType

public final class CertificateKeyType extends com.azure.core.util.ExpandableStringEnum<CertificateKeyType>
JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40.
  • Field Details

    • EC

      public static final CertificateKeyType EC
      Elliptic Curve.
    • EC_HSM

      public static final CertificateKeyType EC_HSM
      Elliptic Curve with a private key which is stored in the HSM.
    • RSA

      public static final CertificateKeyType RSA
      RSA (https://tools.ietf.org/html/rfc3447).
    • RSA_HSM

      public static final CertificateKeyType RSA_HSM
      RSA with a private key which is stored in the HSM.
  • Constructor Details

    • CertificateKeyType

      @Deprecated public CertificateKeyType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of CertificateKeyType value.
  • Method Details

    • fromString

      public static CertificateKeyType fromString(String name)
      Creates or finds a CertificateKeyType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding CertificateKeyType.
    • values

      public static Collection<CertificateKeyType> values()
      Gets known CertificateKeyType values.
      Returns:
      known CertificateKeyType values.