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 0x7f92bef80720>

DirectoryName

value = <property object at 0x7f92bef80860>

GeneralName

value = <abc.abstractproperty object at 0x7f92bef6fca0>

          Return the value of the object
        

IPAddress

value = <property object at 0x7f92bef809a0>

Name

get_attributes_for_oid(self, oid: cryptography.hazmat._oid.ObjectIdentifier) -> List[cryptography.x509.name.NameAttribute]
public_bytes(self, backend: Any = None) -> bytes
rfc4514_string(self, attr_name_overrides: Optional[Mapping[cryptography.hazmat._oid.ObjectIdentifier, str]] = None) -> 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 0x7f92bef80540>

ObjectIdentifier

dotted_string = <property object at 0x7f92bf0c7810>

OtherName

type_id = <property object at 0x7f92bef80a40>
value = <property object at 0x7f92bef80a90>

RFC822Name

value = <property object at 0x7f92bef80680>

RegisteredID

value = <property object at 0x7f92bef80900>

UniformResourceIdentifier

value = <property object at 0x7f92bef807c0>

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 ('', '').
    

Modules

abc

ipaddress

typing