public static final class

PSource.PSpecified

extends PSource
java.lang.Object
   ↳ javax.crypto.spec.PSource
     ↳ javax.crypto.spec.PSource.PSpecified

Class Overview

The explicit specification of the parameter P used in the source algorithm.

Summary

Constants
PSource.PSpecified DEFAULT The instance of PSpecified with the default value byte[0] for P
Public Constructors
PSource.PSpecified(byte[] p)
Creates a new instance of PSpecified with the specified parameter P.
Public Methods
byte[] getValue()
Returns a copy of the value of the parameter P.
[Expand]
Inherited Methods
From class javax.crypto.spec.PSource
From class java.lang.Object

Constants

public static final PSource.PSpecified DEFAULT

The instance of PSpecified with the default value byte[0] for P

Public Constructors

public PSource.PSpecified (byte[] p)

Creates a new instance of PSpecified with the specified parameter P.

Parameters
p the parameter P.
Throws
NullPointerException if p is null.

Public Methods

public byte[] getValue ()

Returns a copy of the value of the parameter P.

Returns
  • a copy of the value of the parameter P