| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Map | |
| private static final Map | |
| private static final String | |
| private OAEPParameterSpec |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected byte[] | engineGetEncoded()
Implements abstract java. |
| protected byte[] | engineGetEncoded(String
the name of the encoding format. format)Implements abstract java. |
| protected <T extends AlgorithmParameterSpec> T | engineGetParameterSpec(Class<T>
the specification class in which
the parameters should be returned. aClass)Implements abstract java. |
| protected void | engineInit(AlgorithmParameterSpec
the parameter specification. algorithmParameterSpec)Implements abstract java. paramSpec.
|
| protected void | engineInit(byte[]
the encoded parameters. bytes)Implements abstract java. |
| protected void | engineInit(byte[]
the encoded parameters. bytes, String the name of the decoding format. format)Implements abstract java. params and
decodes them according to the specified decoding format.
|
| protected String | engineToString()
Implements abstract java. |
| private static String | |
| pack-priv static String | |
| pack-priv static String | |
| private static long | writeAlgorithmIdentifier(long container, String oid)
Writes an ASN.1 AlgorithmIdentifier structure into container, which looks like SEQUENCE OBJECT IDENTIFIER PARAMS (based on the particular algorithm) |
| pack-priv static void |
| MGF1_OID | back to summary |
|---|---|
| private static final String MGF1_OID | |
| NAME_TO_OID | back to summary |
|---|---|
| private static final Map<String, String> NAME_TO_OID | |
| OID_TO_NAME | back to summary |
|---|---|
| private static final Map<String, String> OID_TO_NAME | |
| PSPECIFIED_OID | back to summary |
|---|---|
| private static final String PSPECIFIED_OID | |
| spec | back to summary |
|---|---|
| private OAEPParameterSpec spec | |
| OAEPParameters | back to summary |
|---|---|
| public OAEPParameters() | |
| engineGetEncoded | back to summary |
|---|---|
| protected byte[] engineGetEncoded() throws IOException Implements abstract java. Doc from java. Returns the parameters in their primary encoding format. The primary encoding format for parameters is ASN.1, if an ASN.1 specification for this type of parameters exists.
| |
| engineGetEncoded | back to summary |
|---|---|
| protected byte[] engineGetEncoded(String format) throws IOException Implements abstract java. Doc from java. Returns the parameters encoded in the specified format.
If
| |
| engineGetParameterSpec | back to summary |
|---|---|
| protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) throws InvalidParameterSpecException Implements abstract java. Doc from java. Returns a (transparent) specification of this parameters
object.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec algorithmParameterSpec) throws InvalidParameterSpecException Implements abstract java. Doc from java. Initializes this parameters object using the parameters
specified in
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(byte[] bytes) throws IOException Implements abstract java. Doc from java. Imports the specified parameters and decodes them according to the primary decoding format for parameters. The primary decoding format for parameters is ASN.1, if an ASN.1 specification for this type of parameters exists.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(byte[] bytes, String format) throws IOException Implements abstract java. Doc from java. Imports the parameters from
| |
| engineToString | back to summary |
|---|---|
| protected String engineToString() Implements abstract java. Doc from java. Returns a formatted string describing the parameters. | |
| getHashName | back to summary |
|---|---|
| private static String getHashName(long hashRef) throws IOException | |
| readHash | back to summary |
|---|---|
| pack-priv static String readHash(long seqRef) throws IOException | |
| readMgfHash | back to summary |
|---|---|
| pack-priv static String readMgfHash(long seqRef) throws IOException | |
| writeAlgorithmIdentifier | back to summary |
|---|---|
| private static long writeAlgorithmIdentifier(long container, String oid) throws IOException Writes an ASN.1 AlgorithmIdentifier structure into container, which looks like SEQUENCE OBJECT IDENTIFIER PARAMS (based on the particular algorithm)This method returns a reference to the sequence such that the params may be added to it. The reference needs to be freed with asn1_write_free once it's used. | |
| writeHashAndMgfHash | back to summary |
|---|---|
| pack-priv static void writeHashAndMgfHash(long seqRef, String hash, MGF1ParameterSpec mgfSpec) throws IOException | |