O'Reilly logo

Java Security by Scott Oaks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required