We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03cf95b commit ee52382Copy full SHA for ee52382
python/py_vapid/__init__.py
@@ -68,16 +68,6 @@ def public_key(self):
68
self._public_key = self.private_key.get_verifying_key()
69
return self._public_key
70
71
- @property
72
- def private_key_base64(self):
73
- """Return the base64'ed private key."""
74
- return base64.urlsafe_b64encode(self.private_key.to_string())
75
-
76
77
- def public_key_base64(self):
78
- """Return the base64'ed public key."""
79
- return base64.urlsafe_b64encode(self.public_key.to_string())
80
81
def generate_keys(self):
82
"""Generate a valid ECDSA Key Pair."""
83
self.private_key = ecdsa.SigningKey.generate(curve=ecdsa.NIST256p)
0 commit comments