Example usage for org.bouncycastle.crypto Wrapper interface-usage

List of usage examples for org.bouncycastle.crypto Wrapper interface-usage

Introduction

In this page you can find the example usage for org.bouncycastle.crypto Wrapper interface-usage.

Usage

From source file org.ccnx.ccn.impl.security.crypto.jce.RFC3394WrapWithPadEngine.java

/**
 * RFC3394 requires that the key to be wrapped be a multiple of 8 bytes
 * in length. This poses challenges when wrapping private or public keys.
 * draft-housley-aes-key-wrap-with-pad-02.txt modifies RFC3394 to add
 * padding bytes, as supported in RFC3394 to remove this restriction.
 * This is an implementation of that Internet-Draft, which is not yet

From source file org.ndnx.ndn.impl.security.crypto.jce.RFC3394WrapWithPadEngine.java

/**
 * RFC3394 requires that the key to be wrapped be a multiple of 8 bytes
 * in length. This poses challenges when wrapping private or public keys.
 * draft-housley-aes-key-wrap-with-pad-02.txt modifies RFC3394 to add
 * padding bytes, as supported in RFC3394 to remove this restriction.
 * This is an implementation of that Internet-Draft, which is not yet