// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BSSL_PKI_NAME_CONSTRAINTS_H_ #define BSSL_PKI_NAME_CONSTRAINTS_H_ #include <memory> #include <openssl/base.h> #include "general_names.h" BSSL_NAMESPACE_BEGIN class CertErrors; namespace der { class Input; } // namespace der // Parses a NameConstraints extension value and allows testing whether names are // allowed under those constraints as defined by RFC 5280 section 4.2.1.10. class OPENSSL_EXPORT NameConstraints { … }; BSSL_NAMESPACE_END #endif // BSSL_PKI_NAME_CONSTRAINTS_H_