Package org.iqtig.crypto.key.impl
Class KeyUsageVerifierImpl
- java.lang.Object
-
- org.iqtig.crypto.key.impl.KeyUsageVerifierImpl
-
- All Implemented Interfaces:
KeyUsageVerifier
public class KeyUsageVerifierImpl extends Object implements KeyUsageVerifier
-
-
Constructor Summary
Constructors Constructor Description KeyUsageVerifierImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getModulus(RSAPublicKey publicKey)
boolean
keyHasBeenUsedForTagEncryption(InputStream xmlStream, RSAPublicKey publicKey, String tag)
-
-
-
Method Detail
-
getModulus
public String getModulus(RSAPublicKey publicKey)
- Specified by:
getModulus
in interfaceKeyUsageVerifier
-
keyHasBeenUsedForTagEncryption
public boolean keyHasBeenUsedForTagEncryption(InputStream xmlStream, RSAPublicKey publicKey, String tag) throws SAXException, org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
keyHasBeenUsedForTagEncryption
in interfaceKeyUsageVerifier
- Throws:
SAXException
org.apache.xml.security.exceptions.XMLSecurityException
-
-