public class RSAOAEP_ES extends java.lang.Object implements IEncryptionScheme
| Constructor and Description |
|---|
RSAOAEP_ES(javax.crypto.spec.OAEPParameterSpec aParams,
int aModulusBits,
long[] supportedMechs) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(byte[] aEncodedMessage) |
byte[] |
encode(byte[] aMessage) |
byte[] |
finalize(byte[] aData) |
sun.security.pkcs11.wrapper.CK_MECHANISM |
getMechanism() |
static sun.security.pkcs11.wrapper.CK_MECHANISM |
getMechanism(tr.gov.tubitak.uekae.esya.api.crypto.alg.DigestAlg digestAlg) |
byte[] |
getResult(byte[] aData) |
void |
init(boolean aEncryption) |
public RSAOAEP_ES(javax.crypto.spec.OAEPParameterSpec aParams,
int aModulusBits,
long[] supportedMechs)
throws SmartCardException
SmartCardExceptionpublic byte[] encode(byte[] aMessage)
throws SmartCardException
SmartCardExceptionpublic byte[] decode(byte[] aEncodedMessage)
throws SmartCardException
SmartCardExceptionpublic void init(boolean aEncryption)
init in interface IEncryptionSchemepublic byte[] getResult(byte[] aData)
throws SmartCardException
getResult in interface IEncryptionSchemeSmartCardExceptionpublic sun.security.pkcs11.wrapper.CK_MECHANISM getMechanism()
throws SmartCardException
getMechanism in interface IEncryptionSchemeSmartCardExceptionpublic byte[] finalize(byte[] aData)
finalize in interface IEncryptionSchemepublic static sun.security.pkcs11.wrapper.CK_MECHANISM getMechanism(tr.gov.tubitak.uekae.esya.api.crypto.alg.DigestAlg digestAlg)
throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
tr.gov.tubitak.uekae.esya.api.common.ESYAExceptionCopyright © 2025. All rights reserved.