Class FIPSRsaKeyEncryptionJWEAlgorithmProvider

  • All Implemented Interfaces:
    JWEAlgorithmProvider

    public class FIPSRsaKeyEncryptionJWEAlgorithmProvider
    extends Object
    implements JWEAlgorithmProvider
    Fips note: Based on https://downloads.bouncycastle.org/fips-java/BC-FJA-UserGuide-1.0.2.pdf, Section 4 There are no direct public/private key ciphers available in approved mode. Available ciphers are restricted to use for key wrapping and key transport, see section 7 and section 8 for details. Our solution is to pull out the CEK signature and encryption keys , encode them separately , and then