public interface SecretKeySizeProvider
Modifier and Type | Method and Description |
---|---|
int |
getKeySize(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier) |
int |
getKeySize(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
Return the key size implied by the OID, if one exists.
|
int getKeySize(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
int getKeySize(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
algorithm
- the OID of the algorithm of interest.