Back to module index

Go to module by name

cryptography.x509

cryptography

cryptography.x509.general_name

This module has no docstring.

Classes

DNSName

value = <property object at 0x7ff35fe328b0>

DirectoryName

value = <property object at 0x7ff35fe329f0>

GeneralName

value = <abc.abstractproperty object at 0x7ff35fe1fa60>

          Return the value of the object
        

IPAddress

value = <property object at 0x7ff35fe32c20>

Name

get_attributes_for_oid(self, oid) -> List[cryptography.x509.name.NameAttribute]
public_bytes(self, backend=None) -> bytes
rfc4514_string(self) -> str


          Format as RFC4514 Distinguished Name string.
          For example 'CN=foobar.com,O=Foo Corp,C=US'

          An X.509 name is a two-level structure: a list of sets of attributes.
          Each list element is separated by ',' and within each list element, set
          elements are separated by '+'. The latter is almost never used in
          real world certificates. According to RFC4514 section 2.1 the
          RDNSequence must be reversed when converting to string representation.
        
rdns = <property object at 0x7ff35fe327c0>

ObjectIdentifier

dotted_string = <property object at 0x7ff35ff7aae0>

OtherName

type_id = <property object at 0x7ff35fe32cc0>
value = <property object at 0x7ff35fe32d10>

RFC822Name

value = <property object at 0x7ff35feb0450>

RegisteredID

value = <property object at 0x7ff35fe32a90>

UniformResourceIdentifier

value = <property object at 0x7ff35fe32950>

UnsupportedGeneralNameType

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

Functions

parseaddr

parseaddr(addr)


      Parse addr into its constituent realname and email address parts.

      Return a tuple of realname and email address, unless the parse fails, in
      which case return a 2-tuple of ('', '').
    

Other members

utils = <cryptography.utils._ModuleWithDeprecations object at 0x7ff35ffbbb20>

Modules

abc

ipaddress

typing