Class ShamirsKeystore

  • All Implemented Interfaces:
    de.christofreichardt.diagnosis.Traceable

    public class ShamirsKeystore
    extends KeyStoreSpi
    implements de.christofreichardt.diagnosis.Traceable
    The actual implementation of the JCA engine class KeyStoreSpi. This interpretation uses some specific KeyStore.LoadStoreParameter and KeyStore.ProtectionParameter classes, see ShamirsLoadParameter and ShamirsProtection. The idea is that the password required to load the KeyStore has been splitted by Shamirs Secret Sharing algorithm into several secret shares. Some subset of these shares is needed to recover the original password. Those methods which aren't expecting one of the protection parameter simply delegate to the underlying PKCS#12 KeyStore implementation of the JDK.
    Author:
    Christof Reichardt