All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.privateca.v1.model.ExtendedKeyUsageOptions Maven / Gradle / Ivy

/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * 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.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.privateca.v1.model;

/**
 * KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be
 * specified as an extended key usage value.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Certificate Authority API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class ExtendedKeyUsageOptions extends com.google.api.client.json.GenericJson { /** * Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", * though regularly used for non-WWW TLS. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean clientAuth; /** * Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable * executable code client authentication". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean codeSigning; /** * Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean emailProtection; /** * Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean ocspSigning; /** * Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", * though regularly used for non-WWW TLS. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean serverAuth; /** * Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to * a time". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean timeStamping; /** * Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", * though regularly used for non-WWW TLS. * @return value or {@code null} for none */ public java.lang.Boolean getClientAuth() { return clientAuth; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", * though regularly used for non-WWW TLS. * @param clientAuth clientAuth or {@code null} for none */ public ExtendedKeyUsageOptions setClientAuth(java.lang.Boolean clientAuth) { this.clientAuth = clientAuth; return this; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable * executable code client authentication". * @return value or {@code null} for none */ public java.lang.Boolean getCodeSigning() { return codeSigning; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable * executable code client authentication". * @param codeSigning codeSigning or {@code null} for none */ public ExtendedKeyUsageOptions setCodeSigning(java.lang.Boolean codeSigning) { this.codeSigning = codeSigning; return this; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection". * @return value or {@code null} for none */ public java.lang.Boolean getEmailProtection() { return emailProtection; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection". * @param emailProtection emailProtection or {@code null} for none */ public ExtendedKeyUsageOptions setEmailProtection(java.lang.Boolean emailProtection) { this.emailProtection = emailProtection; return this; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses". * @return value or {@code null} for none */ public java.lang.Boolean getOcspSigning() { return ocspSigning; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses". * @param ocspSigning ocspSigning or {@code null} for none */ public ExtendedKeyUsageOptions setOcspSigning(java.lang.Boolean ocspSigning) { this.ocspSigning = ocspSigning; return this; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", * though regularly used for non-WWW TLS. * @return value or {@code null} for none */ public java.lang.Boolean getServerAuth() { return serverAuth; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", * though regularly used for non-WWW TLS. * @param serverAuth serverAuth or {@code null} for none */ public ExtendedKeyUsageOptions setServerAuth(java.lang.Boolean serverAuth) { this.serverAuth = serverAuth; return this; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to * a time". * @return value or {@code null} for none */ public java.lang.Boolean getTimeStamping() { return timeStamping; } /** * Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to * a time". * @param timeStamping timeStamping or {@code null} for none */ public ExtendedKeyUsageOptions setTimeStamping(java.lang.Boolean timeStamping) { this.timeStamping = timeStamping; return this; } @Override public ExtendedKeyUsageOptions set(String fieldName, Object value) { return (ExtendedKeyUsageOptions) super.set(fieldName, value); } @Override public ExtendedKeyUsageOptions clone() { return (ExtendedKeyUsageOptions) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy