aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/x509/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptography/x509/__init__.py')
-rw-r--r--src/cryptography/x509/__init__.py22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/cryptography/x509/__init__.py b/src/cryptography/x509/__init__.py
index 353cd5b1..82e83616 100644
--- a/src/cryptography/x509/__init__.py
+++ b/src/cryptography/x509/__init__.py
@@ -8,19 +8,21 @@ from cryptography.x509.base import (
AccessDescription, AuthorityInformationAccess, AuthorityKeyIdentifier,
BasicConstraints, CRLDistributionPoints, Certificate, CertificateBuilder,
CertificatePolicies, CertificateRevocationList, CertificateSigningRequest,
- CertificateSigningRequestBuilder, DNSName, DirectoryName,
- DistributionPoint, DuplicateExtension, ExtendedKeyUsage,
- Extension, ExtensionNotFound, ExtensionType, Extensions, GeneralName,
- GeneralNames, IPAddress, InhibitAnyPolicy, InvalidVersion,
- IssuerAlternativeName, KeyUsage, NameConstraints,
- NoticeReference, OCSPNoCheck, ObjectIdentifier, OtherName,
- PolicyInformation, RFC822Name, ReasonFlags, RegisteredID,
+ CertificateSigningRequestBuilder, DistributionPoint,
+ DuplicateExtension, ExtendedKeyUsage, Extension, ExtensionNotFound,
+ ExtensionType, Extensions, GeneralNames, InhibitAnyPolicy,
+ InvalidVersion, IssuerAlternativeName, KeyUsage, NameConstraints,
+ NoticeReference, OCSPNoCheck, ObjectIdentifier,
+ PolicyInformation, ReasonFlags,
RevokedCertificate, SubjectAlternativeName, SubjectKeyIdentifier,
- UniformResourceIdentifier, UnsupportedExtension,
- UnsupportedGeneralNameType, UserNotice, Version, _GENERAL_NAMES,
- load_der_x509_certificate,
+ UnsupportedExtension, UserNotice, Version, load_der_x509_certificate,
load_der_x509_csr, load_pem_x509_certificate, load_pem_x509_csr,
)
+from cryptography.x509.general_name import (
+ DNSName, DirectoryName, GeneralName, IPAddress, OtherName, RFC822Name,
+ RegisteredID, UniformResourceIdentifier, UnsupportedGeneralNameType,
+ _GENERAL_NAMES
+)
from cryptography.x509.name import Name, NameAttribute
from cryptography.x509.oid import (
ExtensionOID, NameOID, OID_ANY_POLICY,