com.couchbase.client.core.deps.org.xbill.DNS.SMIMEARecord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-io Show documentation
Show all versions of core-io Show documentation
The official Couchbase JVM Core IO Library
// 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);
}
}