public class Jose4jEncryptionOperatorTest extends Object
Jose4jEncryptionOperator
.Modifier and Type | Field and Description |
---|---|
org.jmock.integration.junit4.JUnitRuleMockery |
context |
org.junit.rules.ExpectedException |
expectedException |
Constructor and Description |
---|
Jose4jEncryptionOperatorTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testBuildWhenNoCompressionAlgorithm() |
void |
testBuildWhenNoContentEncryptionAlgorithm() |
void |
testBuildWhenNoContentType() |
void |
testBuildWhenNoKeyManagementAlgorithm() |
void |
testBuildWhenNoKeyProvider() |
void |
testBuildWhenNothingConfigured() |
void |
testDecryptWhenKeyNotFound() |
void |
testDecryptWithDifferentKeyThanEncrypt() |
void |
testDecryptWithInadequateKey() |
void |
testEncryptAndDecrypt() |
void |
testEncryptWithInadequateKey() |
public final org.jmock.integration.junit4.JUnitRuleMockery context
public final org.junit.rules.ExpectedException expectedException
public void testBuildWhenNothingConfigured() throws Exception
Exception
public void testBuildWhenNoKeyProvider() throws Exception
Exception
public void testBuildWhenNoKeyManagementAlgorithm() throws Exception
Exception
public void testBuildWhenNoContentEncryptionAlgorithm() throws Exception
Exception
public void testBuildWhenNoCompressionAlgorithm() throws Exception
Exception
public void testBuildWhenNoContentType() throws Exception
Exception
public void testDecryptWithDifferentKeyThanEncrypt() throws Exception
Exception
public void testEncryptWithInadequateKey() throws Exception
Exception
public void testDecryptWithInadequateKey() throws Exception
Exception
Copyright © 2019. All rights reserved.