public class Jose4JSignatureOperatorTest extends Object
Jose4jSignatureOperator
.Modifier and Type | Field and Description |
---|---|
org.jmock.integration.junit4.JUnitRuleMockery |
context |
org.junit.rules.ExpectedException |
expectedException |
Constructor and Description |
---|
Jose4JSignatureOperatorTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testBuildWhenNoAlgorithm() |
void |
testBuildWhenNoKeyProvider() |
void |
testBuildWhenNoKeyProviderAndAlgorithmNone() |
void |
testBuildWhenNothingConfigured() |
void |
testSignAndVerify() |
void |
testSignWithInadequateKey() |
void |
testVerifyWhenKeyNotFound() |
void |
testVerifyWithDifferentKeyThanSign() |
void |
testVerifyWithInadequateKey() |
void |
testWithAlgorithmNone() |
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 testBuildWhenNoKeyProviderAndAlgorithmNone() throws Exception
Exception
public void testVerifyWithDifferentKeyThanSign() throws Exception
Exception
public void testSignWithInadequateKey() throws Exception
Exception
public void testVerifyWithInadequateKey() throws Exception
Exception
Copyright © 2019. All rights reserved.