Class ConcatKDFTest
java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.derivation.impl.ConcatKDFTest
public class ConcatKDFTest
extends org.opensaml.core.testing.XMLObjectBaseTestCase
-
Field Summary
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementMethods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
Constructor Details
-
ConcatKDFTest
public ConcatKDFTest()
-
-
Method Details
-
defaultProperties
- Throws:
Exception
-
explicitProperties
- Throws:
Exception
-
initNonDigestMethod
- Throws:
Exception
-
initUnsupportedDigest
- Throws:
Exception
-
initBadAlgorithmID
- Throws:
Exception
-
initBadPartyUInfo
- Throws:
Exception
-
initBadPartyVInfo
- Throws:
Exception
-
initBadSuppPubInfo
- Throws:
Exception
-
initBadSuppPrivInfo
- Throws:
Exception
-
xmlGenerationSuccess
- Throws:
Exception
-
fromXMLObject_Basic
- Throws:
Exception
-
fromXMLObject_NullBitstrings
- Throws:
Exception
-
fromXMLObject_EmptyBitstrings_OSJ_355
- Throws:
Exception
-
fromXMLObject_InvalidValues
- Throws:
Exception
-
cloning
- Throws:
Exception
-
deriveWithDefaults
- Throws:
Exception
-
deriveWithExplicitProperties
- Throws:
Exception
-
unknownKeyAlgorithm
- Throws:
Exception
-
nonKeyLengthAlgorithm
- Throws:
Exception
-
nonKeyLengthAlgorithmWithSpecifiedLength
- Throws:
Exception
-
decodeParam
- Throws:
Exception
-
padParam
- Throws:
Exception
-
unpadParam
- Throws:
Exception
-
testVectors
@DataProvider(name="testVectors") public Object[][] testVectors() throws org.apache.commons.codec.DecoderException, EncodingException- Throws:
org.apache.commons.codec.DecoderExceptionEncodingException
-
deriveTestVectors
public void deriveTestVectors(byte[] secret, byte[] otherInfo, Integer keyLength, String digestMethod, byte[] keyBytes) throws Exception - Throws:
Exception
-