Top Methods
org.bouncycastle.operator

public Interface SecretKeySizeProvider

Known Direct Implementers
org.bouncycastle.operator.DefaultSecretKeySizeProvider
Imports
org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier

Method Summary

Modifier and TypeMethod and Description
public int
getKeySize(AlgorithmIdentifier algorithmIdentifier)

public int

Returns:

-1 if there is no fixed key size associated with the OID, or more information is required.
getKeySize
(ASN1ObjectIdentifier
the OID of the algorithm of interest.
algorithm
)

Return the key size implied by the OID, if one exists.

Method Detail

getKeySizeback to summary
public int getKeySize(AlgorithmIdentifier algorithmIdentifier)
getKeySizeback to summary
public int getKeySize(ASN1ObjectIdentifier algorithm)

Return the key size implied by the OID, if one exists.

Parameters
algorithm:ASN1ObjectIdentifier

the OID of the algorithm of interest.

Returns:int

-1 if there is no fixed key size associated with the OID, or more information is required.