Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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

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 .
[Expand]
Inherited Methods
From class javax.crypto.spec.PSource
From class java.lang.Object

Fields

public static final PSource.PSpecified DEFAULT

Added in API level 1

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

Public Constructors

public PSource.PSpecified (byte[] p)

Added in API level 1

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 ()

Added in API level 1

Returns a copy of the value of the parameter P .

Returns
  • a copy of the value of the parameter P