|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.jcajce.util.JcaJceUtils
public class JcaJceUtils
General JCA/JCE utility methods.
Method Summary | |
---|---|
static ASN1Encodable |
extractParameters(java.security.AlgorithmParameters params)
Extract an ASN.1 encodable from an AlgorithmParameters object. |
static java.lang.String |
getDigestAlgName(ASN1ObjectIdentifier digestAlgOID)
Attempt to find a standard JCA name for the digest represented by the past in OID. |
static void |
loadParameters(java.security.AlgorithmParameters params,
ASN1Encodable sParams)
Load an AlgorithmParameters object with the passed in ASN.1 encodable - if possible. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |