public interface ExternalKeyWrappingStrategy
KeyStoreParameters.EXTERNAL_KEY_WRAPPING_STRATEGY option.| Modifier and Type | Method and Description |
|---|---|
ByteSequence |
unwrapKey(ByteSequence wrappedKey)
Unwraps the provided
wrapped key. |
ByteSequence |
wrapKey(ByteSequence unwrappedKey)
Wraps the provided encoded key.
|
ByteSequence wrapKey(ByteSequence unwrappedKey) throws org.forgerock.opendj.security.LocalizedKeyStoreException
unwrappedKey - The non-null key to be wrapped. The format of the unwrapped key is unspecified.null protected key. The format of the returned wrapped key is implementation defined.LocalizedKeyStoreException - If an unexpected problem occurred when wrapping the key.ByteSequence unwrapKey(ByteSequence wrappedKey) throws org.forgerock.opendj.security.LocalizedKeyStoreException
wrapped key.wrappedKey - The non-null key to be unwrapped. The format of the wrapped key is implementation
defined and must have been produced via a call to wrapKey(ByteSequence).null unwrapped key which must contain exactly the same content passed to wrapKey(ByteSequence).LocalizedKeyStoreException - If an unexpected problem occurred when unwrapping the key.Copyright © 2017-2020 Wren Security. All Rights Reserved.