Package org.iqtig.crypto.key.interfaces
Interface KeyUsageVerifier
-
- All Known Implementing Classes:
KeyUsageVerifierImpl
public interface KeyUsageVerifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getModulus(RSAPublicKey publicKey)
boolean
keyHasBeenUsedForTagEncryption(InputStream xmlStream, RSAPublicKey publicKey, String tag)
-
-
-
Method Detail
-
getModulus
String getModulus(RSAPublicKey publicKey)
-
keyHasBeenUsedForTagEncryption
boolean keyHasBeenUsedForTagEncryption(InputStream xmlStream, RSAPublicKey publicKey, String tag) throws SAXException, org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
SAXException
org.apache.xml.security.exceptions.XMLSecurityException
-
-