public class DirectEncrypter extends Object
Supports the following JWE algorithms:
Supports the following encryption methods:
Constructor and Description |
---|
DirectEncrypter() |
Modifier and Type | Method and Description |
---|---|
static String |
encrypt(EncryptionMethod enc,
CompressionAlgorithm compressionAlgorithm,
String encodedJWEHeader,
SecretKey key,
byte[] bytes) |
public static String encrypt(EncryptionMethod enc, CompressionAlgorithm compressionAlgorithm, String encodedJWEHeader, SecretKey key, byte[] bytes)
Copyright © 2018 JBoss by Red Hat. All rights reserved.