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