public final class RsaOaepKeyWrapper extends Object implements KeyWrapper
Modifier and Type | Class and Description |
---|---|
static class |
RsaOaepKeyWrapper.Builder |
Modifier and Type | Method and Description |
---|---|
static RsaOaepKeyWrapper.Builder |
builder() |
String |
cekAlgorithm() |
static String |
cipherAlgorithm()
The cipher algorithm name is the string used to correctly configure the cipher provider.
|
CipherProvider |
cipherProvider() |
Mgf1Scheme |
mgf1Scheme() |
byte[] |
unwrapCek(byte[] wrappedCek,
Key key) |
byte[] |
wrapCek(byte[] unwrappedCek,
Key key) |
public static RsaOaepKeyWrapper.Builder builder()
public static String cipherAlgorithm()
InternalKeyWrapAlgorithm.algorithmName()
which is an agreed-upon term
within AWS.public byte[] unwrapCek(byte[] wrappedCek, Key key)
unwrapCek
in interface KeyWrapper
public byte[] wrapCek(byte[] unwrappedCek, Key key)
wrapCek
in interface KeyWrapper
public CipherProvider cipherProvider()
public Mgf1Scheme mgf1Scheme()
public String cekAlgorithm()
Copyright © 2021. All rights reserved.