Package de.christofreichardt.jca.shamir
Class ShamirsLoadParameter
- java.lang.Object
-
- de.christofreichardt.jca.shamir.ShamirsLoadParameter
-
- All Implemented Interfaces:
KeyStore.LoadStoreParameter
public class ShamirsLoadParameter extends Object implements KeyStore.LoadStoreParameter
-
-
Constructor Summary
Constructors Constructor Description ShamirsLoadParameter(File file, ShamirsProtection shamirsProtection)ShamirsLoadParameter(InputStream inputStream, ShamirsProtection shamirsProtection)ShamirsLoadParameter(OutputStream outputStream, ShamirsProtection shamirsProtection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<File>getFile()Optional<InputStream>getInputStream()StringgetName()Optional<OutputStream>getOutputStream()KeyStore.ProtectionParametergetProtectionParameter()
-
-
-
Constructor Detail
-
ShamirsLoadParameter
public ShamirsLoadParameter(File file, ShamirsProtection shamirsProtection)
-
ShamirsLoadParameter
public ShamirsLoadParameter(InputStream inputStream, ShamirsProtection shamirsProtection)
-
ShamirsLoadParameter
public ShamirsLoadParameter(OutputStream outputStream, ShamirsProtection shamirsProtection)
-
-
Method Detail
-
getProtectionParameter
public KeyStore.ProtectionParameter getProtectionParameter()
- Specified by:
getProtectionParameterin interfaceKeyStore.LoadStoreParameter
-
getName
public String getName()
-
getInputStream
public Optional<InputStream> getInputStream()
-
getOutputStream
public Optional<OutputStream> getOutputStream()
-
-