Package org.webpki.crypto
Interface CryptoAlgorithms
- All Known Subinterfaces:
EncryptionAlgorithms
,SignatureAlgorithms
- All Known Implementing Classes:
AsymEncryptionAlgorithms
,AsymSignatureAlgorithms
,HashAlgorithms
,HmacAlgorithms
,KeyAlgorithms
,SymEncryptionAlgorithms
public interface CryptoAlgorithms
Crypto algorithm base interface.
-
Method Summary
Modifier and TypeMethodDescriptiongetAlgorithmId
(AlgorithmPreferences algorithmPreferences) default int
default String
getOid()
boolean
boolean
default boolean
-
Method Details
-
isMandatorySksAlgorithm
boolean isMandatorySksAlgorithm() -
getAlgorithmId
- Throws:
IllegalArgumentException
-
getJoseAlgorithmId
-
getCoseAlgorithmId
default int getCoseAlgorithmId() -
getOid
String getOid() -
getJceName
String getJceName() -
getKeyType
KeyTypes getKeyType() -
isSymmetric
default boolean isSymmetric() -
isDeprecated
boolean isDeprecated()
-