APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.crypto.provider

pack-priv Class KWUtil

extends Object
Class Inheritance
Imports
java.util.Arrays

This class acts as the base class for AES KeyWrap algorithms as defined in "Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping"
External Specification
https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static final int
W(byte[] icvIn, byte[] in, int inLen, SymmetricCipher cipher)

pack-priv static final int
W_INV(byte[] in, int inLen, byte[] icvOut, SymmetricCipher cipher)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BLKSIZEback to summary
pack-priv static final int BLKSIZE
MIN_INPUTLENback to summary
pack-priv static final int MIN_INPUTLEN
SEMI_BLKSIZEback to summary
pack-priv static final int SEMI_BLKSIZE

Constructor Detail

KWUtilback to summary
pack-priv KWUtil()

Method Detail

Wback to summary
pack-priv static final int W(byte[] icvIn, byte[] in, int inLen, SymmetricCipher cipher)
W_INVback to summary
pack-priv static final int W_INV(byte[] in, int inLen, byte[] icvOut, SymmetricCipher cipher)