INNER CODE UNIT · Python
secret_keys
kurtbrose/pyjks · jks/bks.py:229
def secret_keys(self):
"""A subset of the :attr:`entries` dictionary, filtered down to only
those entries of type :class:`BksSecretKeyEntry`."""
return dict([(a, e) for a, e in self.entries.items()
if isinstance(e, BksSecretKeyEntry)])
@property
def sealed_keys(self):
"""A subset of the :attr:`entries` dictionary, filtered down to only
those entries of type :class:`BksSealedKeyEntry`."""
return dict([(a, e) for a, e in self.entries.items()
if isinstance(e, BksSealedKeyEntry)])
@property
def plain_keys(self):
"""A subset of the :attr:`entries` dictionary, filtered down to only
those entries of type :class:`BksKeyEntry`."""
return dict([(a, e) for a, e in self.entries.items()