public abstract class KeyProviderBase extends java.lang.Object implements KeyProvider
KeyProvider
serviceSTORAGE_SUPPORT
Modifier and Type | Method and Description |
---|---|
byte[] |
obtainKey(Algorithms algorithm)
Obtain the current cryptographic key present in the storage.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStorageType
public final byte[] obtainKey(Algorithms algorithm) throws CryptoException
KeyProvider
KeyGenerator
and stays the same
for the lifetime of the service (unless is physically erased in the storage
system)obtainKey
in interface KeyProvider
algorithm
- the standard string name of the algorithm.
Currently supported algorithm are defined
in Algorithms
CryptoException
- If any problem occurs while obtaining the key"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"