public class RsaKeyManagementAlgorithm extends WrappingKeyManagementAlgorithm implements KeyManagementAlgorithm
Modifier and Type | Class and Description |
---|---|
static class |
RsaKeyManagementAlgorithm.Rsa1_5 |
static class |
RsaKeyManagementAlgorithm.RsaOaep |
static class |
RsaKeyManagementAlgorithm.RsaOaep256 |
log
Constructor and Description |
---|
RsaKeyManagementAlgorithm(String javaAlg,
String alg) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailable() |
void |
validateDecryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
validateEncryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
manageForDecrypt, manageForEnc, manageForEncrypt, setAlgorithmParameterSpec
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType, setAlgorithmIdentifier, setJavaAlgorithm, setKeyPersuasion, setKeyType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
manageForDecrypt, manageForEncrypt
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType
public void validateEncryptionKey(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) throws InvalidKeyException
validateEncryptionKey
in interface KeyManagementAlgorithm
InvalidKeyException
public void validateDecryptionKey(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) throws InvalidKeyException
validateDecryptionKey
in interface KeyManagementAlgorithm
InvalidKeyException
public boolean isAvailable()
isAvailable
in interface Algorithm
Copyright © 2015. All rights reserved.