Skip to content
Permalink
Browse files
Grammatical corrections in comments.
  • Loading branch information
mifosio-04-04-2018 committed Apr 11, 2017
1 parent c918a3b commit 333e1317777b055d49190c35764614551750bdcb
Showing 1 changed file with 3 additions and 3 deletions.
@@ -104,15 +104,15 @@ public void testKeyRotation()
Assert.assertTrue(signatureSets.contains(identityManagerKeyPair.getTimestamp()));
}

//Get the newly created signature set, and test that it's contents are correct.
//Get the newly created signature set, and test that its contents are correct.
final ApplicationSignatureSet signatureSet = anubis.getSignatureSet(identityManagerKeyPair.getTimestamp());
Assert.assertEquals(identityManagerSignature, signatureSet.getIdentityManagerSignature());

//Get just the application signature, and test that it's contents match the results of the whole signature set.
//Get just the application signature, and test that its contents match the results of the whole signature set.
final Signature applicationSignature = anubis.getApplicationSignature(identityManagerKeyPair.getTimestamp());
Assert.assertEquals(signatureSet.getApplicationSignature(), applicationSignature);

//Create a second signature set and test that it and the prevous signature set are listed.
//Create a second signature set and test that it and the previous signature set are listed.
final RsaKeyPairFactory.KeyPairHolder identityManagerKeyPair2 = RsaKeyPairFactory.createKeyPair();
final Signature identityManagerSignature2 = new Signature(identityManagerKeyPair2.getPublicKeyMod(), identityManagerKeyPair2.getPublicKeyExp());

0 comments on commit 333e131

Please sign in to comment.