Skip to content

Most visited

Recently visited

navigation
Added in API level 1

PSource.PSpecified

public static final class PSource.PSpecified
extends PSource

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


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

Summary

Fields

public static final 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.

Inherited methods

From class javax.crypto.spec.PSource
From class java.lang.Object

Fields

DEFAULT

Added in API level 1
PSource.PSpecified DEFAULT

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

Public constructors

PSource.PSpecified

Added in API level 1
PSource.PSpecified (byte[] p)

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

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

Public methods

getValue

Added in API level 1
byte[] getValue ()

Returns a copy of the value of the parameter P.

Returns
byte[] a copy of the value of the parameter P
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.