public class RsaKeyEncryption256JWEAlgorithmProvider extends KeyEncryptionJWEAlgorithmProvider
Constructor and Description |
---|
RsaKeyEncryption256JWEAlgorithmProvider(String jcaAlgorithmName) |
Modifier and Type | Method and Description |
---|---|
byte[] |
decodeCek(byte[] encodedCek,
Key privateKey) |
byte[] |
encodeCek(JWEEncryptionProvider encryptionProvider,
JWEKeyStorage keyStorage,
Key publicKey) |
protected Cipher |
getCipherProvider() |
public RsaKeyEncryption256JWEAlgorithmProvider(String jcaAlgorithmName)
protected Cipher getCipherProvider() throws Exception
getCipherProvider
in class KeyEncryptionJWEAlgorithmProvider
Exception
public byte[] decodeCek(byte[] encodedCek, Key privateKey) throws Exception
decodeCek
in interface JWEAlgorithmProvider
decodeCek
in class KeyEncryptionJWEAlgorithmProvider
Exception
public byte[] encodeCek(JWEEncryptionProvider encryptionProvider, JWEKeyStorage keyStorage, Key publicKey) throws Exception
encodeCek
in interface JWEAlgorithmProvider
encodeCek
in class KeyEncryptionJWEAlgorithmProvider
Exception
Copyright © 2021 JBoss by Red Hat. All rights reserved.