public abstract class StreamCipherProvider
extends java.lang.Object
| Constructor and Description |
|---|
StreamCipherProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract @NotNull java.lang.String |
getId()
Id of the cipher defines stream cipher type (algorithm).
|
static @Nullable StreamCipherProvider |
getProvider(@NotNull java.lang.String id)
Gets a
StreamCipherProvider implementation by specified id. |
abstract @NotNull StreamCipher |
newCipher()
Creates new instance of stream cipher.
|
@NotNull public abstract @NotNull java.lang.String getId()
@NotNull public abstract @NotNull StreamCipher newCipher()
@Nullable public static @Nullable StreamCipherProvider getProvider(@NotNull @NotNull java.lang.String id)
StreamCipherProvider implementation by specified id.id - id of StreamCipherProviderStreamCipherProvider implementation of null if the service could not be loaded