Part of twisted.protocols.amp View Source View In Hierarchy
For clients, it will use ephemeral DH keys, or whatever the default is for certificate-less clients in OpenSSL. For servers, it will generate a temporary self-signed certificate with garbage values in the DN and use that.
|Method||__init__||Create a _NoCertificate which either is or isn't for the client side of the connection.|
|Parameters||client||True if we are a client and should truly have no certificate and be anonymous, False if we are a server and actually have to generate a temporary certificate. (type: bool)|