Name

Class javax.crypto.spec.IvParameterSpec

Synopsis

This class represents an IV (initialization vector) for a cipher that uses a feedback mode. Ciphers in CBC, PCBC, CFB, and OFB modes need to be initialized with an IV.

Class Definition

public javax.crypto.spec.IvParameterSpec
	extends java.lang.Object
	implements java.security.spec.AlgorithmParameterSpec {

	// Constructors
	public IvParameterSpec(byte[]);
	public IvParameterSpec(byte[], int, int);

	// Instance Methods
	public byte[] getIV();
}

See also:

AlgorithmParameterSpec, Cipher

Get Java Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.