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

com.couchbase.client.core.deps.org.xbill.DNS.SMIMEARecord Maven / Gradle / Ivy

There is a newer version: 3.7.2
Show newest version
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 1999-2004 Brian Wellington ([email protected])

package com.couchbase.client.core.deps.org.xbill.DNS;

/**
 * S/MIME cert association
 *
 * @see RFC 8162: Using Secure DNS to Associate
 *     Certificates with Domain Names for S/MIME
 * @author Brian Wellington
 */
public class SMIMEARecord extends TLSARecord {
  SMIMEARecord() {}

  /**
   * Creates an SMIMEA Record from the given data
   *
   * @param certificateUsage The provided association that will be used to match the certificate
   *     presented in the S/MIME handshake.
   * @param selector The part of the S/MIME certificate presented by the server that will be matched
   *     against the association data.
   * @param matchingType How the certificate association is presented.
   * @param certificateAssociationData The "certificate association data" to be matched.
   */
  public SMIMEARecord(
      Name name,
      int dclass,
      long ttl,
      int certificateUsage,
      int selector,
      int matchingType,
      byte[] certificateAssociationData) {
    super(
        name,
        Type.SMIMEA,
        dclass,
        ttl,
        certificateUsage,
        selector,
        matchingType,
        certificateAssociationData);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy