Save This Page
Home » openjdk-7 » javax » crypto » spec » [javadoc | source]
javax.crypto.spec
public class: PSource [javadoc | source]
java.lang.Object
   javax.crypto.spec.PSource

Direct Known Subclasses:
    PSpecified

This class specifies the source for encoding input P in OAEP Padding, as defined in the PKCS #1 standard.
PKCS1PSourceAlgorithms    ALGORITHM-IDENTIFIER ::= {
  { OID id-pSpecified PARAMETERS OCTET STRING },
  ...  -- Allows for future expansion --
}
Nested Class Summary:
public static final class  PSource.PSpecified  This class is used to explicitly specify the value for encoding input P in OAEP Padding. 
Constructor:
 protected PSource(String pSrcName) 
    Constructs a source of the encoding input P for OAEP padding as defined in the PKCS #1 standard using the specified PSource algorithm.
    Parameters:
    pSrcName - the algorithm for the source of the encoding input P.
    Throws:
    NullPointerException - if pSrcName is null.
    exception: NullPointerException - if pSrcName is null.
Method from javax.crypto.spec.PSource Summary:
getAlgorithm
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.crypto.spec.PSource Detail:
 public String getAlgorithm() 
    Returns the PSource algorithm name.