[stem/master] Drop Ed25519 certificate encoded attribute

commit 9aa0988b116841c4c845419136897521065b851d Author: Damian Johnson <atagar@torproject.org> Date: Sun Feb 9 17:36:31 2020 -0800 Drop Ed25519 certificate encoded attribute Redundant with the to_base64() method. --- stem/descriptor/certificate.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/stem/descriptor/certificate.py b/stem/descriptor/certificate.py index 950fcf6b..fed16bac 100644 --- a/stem/descriptor/certificate.py +++ b/stem/descriptor/certificate.py @@ -137,12 +137,10 @@ class Ed25519Certificate(object): Base class for an Ed25519 certificate. :var int version: certificate format version - :var unicode encoded: base64 encoded ed25519 certificate """ def __init__(self, version): self.version = version - self.encoded = None # TODO: remove in stem 2.x @staticmethod def unpack(content): @@ -236,10 +234,6 @@ class Ed25519Certificate(object): def __str__(self): return self.to_base64(pem = True) - @staticmethod - def parse(content): - return Ed25519Certificate.from_base64(content) # TODO: drop this alias in stem 2.x - class Ed25519CertificateV1(Ed25519Certificate): """
participants (1)
-
atagar@torproject.org