![JAR search and dependency download from the Maven repository](/logo.png)
org.bouncycastle.crypto.KeyWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bc-fips-debug Show documentation
Show all versions of bc-fips-debug Show documentation
The FIPS 140-2 Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms certified to FIPS 140-2 level 1. This jar contains the debug version JCE provider and low-level API for the BC-FJA version 1.0.2.3, FIPS Certificate #3514. Please note the debug jar is not certified.
package org.bouncycastle.crypto;
/**
* Base interface for a key wrapper.
*
* @param the parameter type for the wrapper.
*/
public interface KeyWrapper
{
/**
* Return the parameters for this wrapper.
*
* @return the wrapper's parameters.
*/
T getParameters();
/**
* Return the wrapped version of a key byte encoding.
*
* @param in input data array.
* @param inOff offset into data array key data starts at.
* @param inLen length of key data.
* @return the wrapped encoding of the key.
* @throws PlainInputProcessingException if the passed in input cannot be processed.
*/
byte[] wrap(byte[] in, int inOff, int inLen)
throws PlainInputProcessingException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy