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 format)
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.AlgorithmParametersSpi
paramSpec
- 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.AlgorithmParametersSpi
java.io.IOException
protected void engineInit(byte[] bytes, java.lang.String s) throws java.io.IOException
engineInit
in class java.security.AlgorithmParametersSpi
java.io.IOException
protected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T> aClass) throws java.security.spec.InvalidParameterSpecException
engineGetParameterSpec
in class java.security.AlgorithmParametersSpi
T
- 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.AlgorithmParametersSpi
java.io.IOException
protected byte[] engineGetEncoded(java.lang.String format) throws java.io.IOException
engineGetEncoded
in class java.security.AlgorithmParametersSpi
java.io.IOException
protected java.lang.String engineToString()
engineToString
in class java.security.AlgorithmParametersSpi
Copyright 2014-2018 SafeNet. All rights reserved.