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

DirectoryName

value = <property object at 0x7f75e2c979c0>

GeneralName

value = <abc.abstractproperty object at 0x7f75e2e99ea0>

          Return the value of the object
        

IPAddress

value = <property object at 0x7f75e2c97bf0>

Name

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

ObjectIdentifier

dotted_string = <attribute 'dotted_string' of 'builtins.ObjectIdentifier' objects>

OtherName

type_id = <property object at 0x7f75e2c97d30>
value = <property object at 0x7f75e2c97d80>

RFC822Name

value = <property object at 0x7f75e2c962a0>

RegisteredID

value = <property object at 0x7f75e2c97ab0>

UniformResourceIdentifier

value = <property object at 0x7f75e2c97970>

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