public class LunaParametersBIP32
extends java.security.AlgorithmParametersSpi
KeyPair derivation mechanism.
An instance of this class is immutable.| Modifier and Type | Field and Description |
|---|---|
protected java.security.Key |
baseKey
The key (seed or public or private key from a prior derivation) to use to derive a new KeyPair
|
protected java.lang.String |
path
The key derivation path in BIP44 notation.
|
| Constructor and Description |
|---|
LunaParametersBIP32() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineGetEncoded()
Not implemented
|
protected byte[] |
engineGetEncoded(java.lang.String s)
Not implemented
|
protected <T extends java.security.spec.AlgorithmParameterSpec> |
engineGetParameterSpec(java.lang.Class<T> aClass)
Converts a parameter object to a parameterspec object.
|
protected void |
engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
Assigns the data values from the given parameterspec object.
|
protected void |
engineInit(byte[] bytes)
Not implemented
|
protected void |
engineInit(byte[] bytes,
java.lang.String s)
Not implemented
|
protected java.lang.String |
engineToString() |
protected java.security.Key baseKey
protected java.lang.String path
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
throws java.security.spec.InvalidParameterSpecException
engineInit in class java.security.AlgorithmParametersSpiparamSpec - The LunaBIP32ParameterSpec data source objectjava.security.spec.InvalidParameterSpecException - if the object is not a LunaBIP32ParameterSpecprotected void engineInit(byte[] bytes)
throws java.io.IOException
engineInit in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected void engineInit(byte[] bytes,
java.lang.String s)
throws java.io.IOException
engineInit in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T> aClass)
throws java.security.spec.InvalidParameterSpecException
engineGetParameterSpec in class java.security.AlgorithmParametersSpiT - the type of the parameter specification to be returnedaClass - the specification class in which the parameters should be returnedjava.security.spec.InvalidParameterSpecException - if path is unset or object cannot be used to construct a LunaBIP32ParameterSpecprotected byte[] engineGetEncoded()
throws java.io.IOException
engineGetEncoded in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected byte[] engineGetEncoded(java.lang.String s)
throws java.io.IOException
engineGetEncoded in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected java.lang.String engineToString()
engineToString in class java.security.AlgorithmParametersSpiCopyright 2014-2018 SafeNet. All rights reserved.