Package org.mozilla.jss.crypto
Class KBKDFCounterParams
java.lang.Object
org.mozilla.jss.util.NativeEnclosure
org.mozilla.jss.crypto.KBKDFParameterSpec
org.mozilla.jss.crypto.KBKDFCounterParams
- All Implemented Interfaces:
AutoCloseable,AlgorithmParameterSpec,KeySpec
-
Field Summary
Fields inherited from class org.mozilla.jss.crypto.KBKDFParameterSpec
additional_keys, derivedKeyAlgorithm, keySize, params, prf, prfKeyFields inherited from class org.mozilla.jss.util.NativeEnclosure
mPointer, mPointerSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidValidate all class members prior to acquiring native resources.Methods inherited from class org.mozilla.jss.crypto.KBKDFParameterSpec
acquireNativeResources, addAdditionalDerivedKey, addParameter, releaseNativeResources, setAdditionalDerivedKeys, setDerivedKeyAlgorithm, setDerivedKeyAlgorithm, setKeySize, setParameters, setPRF, setPRF, setPRF, setPRFKeyMethods inherited from class org.mozilla.jss.util.NativeEnclosure
close, finalize, open
-
Constructor Details
-
KBKDFCounterParams
public KBKDFCounterParams()
-
-
Method Details
-
validateParameters
Description copied from class:KBKDFParameterSpecValidate all class members prior to acquiring native resources. This is implemented by the derived KBKDF modes in an effort to give useful exceptions before derivation, instead of vague errors during derivation.- Specified by:
validateParametersin classKBKDFParameterSpec- Throws:
IllegalArgumentException
-
acquireNativeResourcesInternal
- Specified by:
acquireNativeResourcesInternalin classKBKDFParameterSpec- Throws:
Exception
-
releaseNativeResourcesInternal
- Specified by:
releaseNativeResourcesInternalin classKBKDFParameterSpec- Throws:
Exception
-