com.atlassian.security.auth.trustedapps
Class TestBouncyCastleEncryptionProvider
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.security.auth.trustedapps.TestBouncyCastleEncryptionProvider
- All Implemented Interfaces:
- junit.framework.Test
- public class TestBouncyCastleEncryptionProvider
- extends junit.framework.TestCase
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TestBouncyCastleEncryptionProvider
public TestBouncyCastleEncryptionProvider()
testGetApplicationCertificateReturnsEmpty
public void testGetApplicationCertificateReturnsEmpty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetApplicationCertificateNotFoundAtAll
public void testGetApplicationCertificateNotFoundAtAll()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetApplicationCertificateMalformedUrl
public void testGetApplicationCertificateMalformedUrl()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetApplicationCertificateReturnsProperly
public void testGetApplicationCertificateReturnsProperly()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecodeBadSecretKey
public void testDecodeBadSecretKey()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecodeSecretKey
public void testDecodeSecretKey()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecodeBadMagicNumber
public void testDecodeBadMagicNumber()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecodeInvalidCertificate
public void testDecodeInvalidCertificate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecodeNumberFormatException
public void testDecodeNumberFormatException()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecodeNullMagicNumberVersion0
public void testDecodeNullMagicNumberVersion0()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecodeNullMagicNumberVersion1
public void testDecodeNullMagicNumberVersion1()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBCSecretKeyFactory
public void testBCSecretKeyFactory()
testSecretKeyValidatorValidatesLength16
public void testSecretKeyValidatorValidatesLength16()
testSecretKeyValidatorInValidatesLengthLessThan16
public void testSecretKeyValidatorInValidatesLengthLessThan16()
testSecretKeyValidatorInValidatesLengthGreaterThan16
public void testSecretKeyValidatorInValidatesLengthGreaterThan16()
testSecretKeyValidatorInValidatesLeadingZero
public void testSecretKeyValidatorInValidatesLeadingZero()
testValidatingSecretKeyFactory
public void testValidatingSecretKeyFactory()
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.