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
SmartCardException
public byte[] encode(byte[] aMessage) throws SmartCardException
SmartCardException
public byte[] decode(byte[] aEncodedMessage) throws SmartCardException
SmartCardException
public void init(boolean aEncryption)
init
in interface IEncryptionScheme
public byte[] getResult(byte[] aData) throws SmartCardException
getResult
in interface IEncryptionScheme
SmartCardException
public sun.security.pkcs11.wrapper.CK_MECHANISM getMechanism() throws SmartCardException
getMechanism
in interface IEncryptionScheme
SmartCardException
public byte[] finalize(byte[] aData)
finalize
in interface IEncryptionScheme
public 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.ESYAException
Copyright © 2025. All rights reserved.