public class JcaJceUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ASN1Encodable |
extractParameters(java.security.AlgorithmParameters params)
Deprecated.
use AlgorithmParametersUtils.extractParameters(AlgorithmParameters params)
|
static java.lang.String |
getDigestAlgName(ASN1ObjectIdentifier digestAlgOID)
Deprecated.
use MessageDigestUtils,getDigestName()
|
static void |
loadParameters(java.security.AlgorithmParameters params,
ASN1Encodable sParams)
Deprecated.
use AlgorithmParametersUtils.loadParameters(AlgorithmParameters params, ASN1Encodable sParams)
|
public static ASN1Encodable extractParameters(java.security.AlgorithmParameters params) throws java.io.IOException
params
- the object to get the encoding used to create the return value.java.io.IOException
- if an encoding cannot be extracted.public static void loadParameters(java.security.AlgorithmParameters params, ASN1Encodable sParams) throws java.io.IOException
params
- the AlgorithmParameters object to be initialised.sParams
- the ASN.1 encodable to initialise params with.java.io.IOException
- if the parameters cannot be initialised.public static java.lang.String getDigestAlgName(ASN1ObjectIdentifier digestAlgOID)
digestAlgOID
- the OID of the digest algorithm of interest.