/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.certificatemanager.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The Extended Key Usage X.509 v3 extension defines one or more purposes for which the public key can be used. This is * in addition to or in place of the basic purposes specified by the Key Usage extension. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ExtendedKeyUsage implements Serializable, Cloneable, StructuredPojo { /** ** The name of an Extended Key Usage value. *
*/ private String name; /** ** An object identifier (OID) for the extension value. OIDs are strings of numbers separated by periods. The * following OIDs are defined in RFC 3280 and RFC 5280. *
*
* 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.3 (CODE_SIGNING)
*
* 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION)
*
* 1.3.6.1.5.5.7.3.8 (TIME_STAMPING)
*
* 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING)
*
* 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM)
*
* 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL)
*
* 1.3.6.1.5.5.7.3.7 (IPSEC_USER)
*
* The name of an Extended Key Usage value. *
* * @param name * The name of an Extended Key Usage value. * @see ExtendedKeyUsageName */ public void setName(String name) { this.name = name; } /** ** The name of an Extended Key Usage value. *
* * @return The name of an Extended Key Usage value. * @see ExtendedKeyUsageName */ public String getName() { return this.name; } /** ** The name of an Extended Key Usage value. *
* * @param name * The name of an Extended Key Usage value. * @return Returns a reference to this object so that method calls can be chained together. * @see ExtendedKeyUsageName */ public ExtendedKeyUsage withName(String name) { setName(name); return this; } /** ** The name of an Extended Key Usage value. *
* * @param name * The name of an Extended Key Usage value. * @return Returns a reference to this object so that method calls can be chained together. * @see ExtendedKeyUsageName */ public ExtendedKeyUsage withName(ExtendedKeyUsageName name) { this.name = name.toString(); return this; } /** ** An object identifier (OID) for the extension value. OIDs are strings of numbers separated by periods. The * following OIDs are defined in RFC 3280 and RFC 5280. *
*
* 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.3 (CODE_SIGNING)
*
* 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION)
*
* 1.3.6.1.5.5.7.3.8 (TIME_STAMPING)
*
* 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING)
*
* 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM)
*
* 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL)
*
* 1.3.6.1.5.5.7.3.7 (IPSEC_USER)
*
* 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.3 (CODE_SIGNING)
*
* 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION)
*
* 1.3.6.1.5.5.7.3.8 (TIME_STAMPING)
*
* 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING)
*
* 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM)
*
* 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL)
*
* 1.3.6.1.5.5.7.3.7 (IPSEC_USER)
*
* An object identifier (OID) for the extension value. OIDs are strings of numbers separated by periods. The * following OIDs are defined in RFC 3280 and RFC 5280. *
*
* 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.3 (CODE_SIGNING)
*
* 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION)
*
* 1.3.6.1.5.5.7.3.8 (TIME_STAMPING)
*
* 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING)
*
* 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM)
*
* 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL)
*
* 1.3.6.1.5.5.7.3.7 (IPSEC_USER)
*
* 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.3 (CODE_SIGNING)
*
* 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION)
*
* 1.3.6.1.5.5.7.3.8 (TIME_STAMPING)
*
* 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING)
*
* 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM)
*
* 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL)
*
* 1.3.6.1.5.5.7.3.7 (IPSEC_USER)
*
* An object identifier (OID) for the extension value. OIDs are strings of numbers separated by periods. The * following OIDs are defined in RFC 3280 and RFC 5280. *
*
* 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.3 (CODE_SIGNING)
*
* 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION)
*
* 1.3.6.1.5.5.7.3.8 (TIME_STAMPING)
*
* 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING)
*
* 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM)
*
* 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL)
*
* 1.3.6.1.5.5.7.3.7 (IPSEC_USER)
*
* 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION)
*
* 1.3.6.1.5.5.7.3.3 (CODE_SIGNING)
*
* 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION)
*
* 1.3.6.1.5.5.7.3.8 (TIME_STAMPING)
*
* 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING)
*
* 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM)
*
* 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL)
*
* 1.3.6.1.5.5.7.3.7 (IPSEC_USER)
*