|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.crypto.util.AlgorithmIdentifierFactory
Factory methods for common AlgorithmIdentifiers.
Method Summary | |
static AlgorithmIdentifier |
generateEncryptionAlgID(ASN1ObjectIdentifier encryptionOID,
int keySize,
java.security.SecureRandom random)
Create an AlgorithmIdentifier for the passed in encryption algorithm. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static AlgorithmIdentifier generateEncryptionAlgID(ASN1ObjectIdentifier encryptionOID, int keySize, java.security.SecureRandom random) throws java.lang.IllegalArgumentException
encryptionOID
- OID for the encryption algorithmkeySize
- key size in bits (-1 if unknown)random
- SecureRandom to use for parameter generation.java.lang.IllegalArgumentException
- if encryptionOID cannot be matched
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |