Bouncy Castle PKIX, CMS, EAC, TSP, PKCS, OCSP, CMP, and CRMF APIs 1.56.0.redhat-3
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getKeySize
public int getKeySize(ASN1ObjectIdentifier algorithm)
Return the key size implied by the OID, if one exists.
- Specified by:
getKeySize
in interface SecretKeySizeProvider
- Parameters:
algorithm
- the OID of the algorithm of interest.
- Returns:
- -1 if there is no fixed key size associated with the OID, or more information is required.
Bouncy Castle PKIX, CMS, EAC, TSP, PKCS, OCSP, CMP, and CRMF APIs 1.56.0.redhat-3
Copyright © 2018 BouncyCastle.org. All rights reserved.