java.lang.Object
java.lang.Enum<PemObjectType>
software.amazon.awssdk.services.cloudfront.internal.auth.PemObjectType
All Implemented Interfaces:
Serializable, Comparable<PemObjectType>

public enum PemObjectType extends Enum<PemObjectType>
  • Enum Constant Details

    • PRIVATE_KEY_PKCS1

      public static final PemObjectType PRIVATE_KEY_PKCS1
    • PRIVATE_KEY_PKCS8

      public static final PemObjectType PRIVATE_KEY_PKCS8
    • PUBLIC_KEY_X509

      public static final PemObjectType PUBLIC_KEY_X509
    • CERTIFICATE_X509

      public static final PemObjectType CERTIFICATE_X509
  • Method Details

    • values

      public static PemObjectType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PemObjectType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getBeginMarker

      public String getBeginMarker()
    • fromBeginMarker

      public static PemObjectType fromBeginMarker(String beginMarker)