INNER CODE UNIT · Python

BksKeyStore

kurtbrose/pyjks · jks/bks.py:212

class BksKeyStore(AbstractKeystore):
    """
    Bouncycastle "BKS" keystore parser. Supports both the current V2 and old V1 formats.
    """
    def __init__(self, store_type, entries, version=2):
        super(BksKeyStore, self).__init__(store_type, entries)
        self.version = version
        """Version of the keystore format, if loaded."""

    @property
    def certs(self):
        """A subset of the :attr:`entries` dictionary, filtered down to only
        those entries of type :class:`BksTrustedCertEntry`."""
        return dict([(a, e) for a, e in self.entries.items()
                     if isinstance(e, BksTrustedCertEntry)])

    @property
    def secret_keys(self):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…