aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/x509.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py
index df37934a..d635d4af 100644
--- a/src/cryptography/x509.py
+++ b/src/cryptography/x509.py
@@ -353,12 +353,8 @@ class SubjectKeyIdentifier(object):
digest = utils.read_only_property("_digest")
- @property
- def hexdigest(self):
- return binascii.hexlify(self.digest).decode("ascii")
-
def __repr__(self):
- return "<SubjectKeyIdentifier(value={0})>".format(self.hexdigest)
+ return "<SubjectKeyIdentifier(digest={0!r})>".format(self.digest)
def __eq__(self, other):
if not isinstance(other, SubjectKeyIdentifier):