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 XMLObjectBaseTestCase
-
-
Field Summary
-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description ConcatKDFTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloning()voiddecodeParam()voiddefaultProperties()voidderiveTestVectors(byte[] secret, byte[] otherInfo, Integer keyLength, String digestMethod, byte[] keyBytes)voidderiveWithDefaults()voidderiveWithExplicitProperties()voidexplicitProperties()voidfromXMLObject()voidinitBadAlgorithmID()voidinitBadPartyUInfo()voidinitBadPartyVInfo()voidinitBadSuppPrivInfo()voidinitBadSuppPubInfo()voidinitNonDigestMethod()voidinitUnsupportedDigest()voidnonKeyLengthAlgorithm()voidnonKeyLengthAlgorithmWithSpecifiedLength()voidpadParam()Object[][]testVectors()voidunknownKeyAlgorithm()voidunpadParam()voidxmlGenerationSuccess()-
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Method Detail
-
deriveWithExplicitProperties
public void deriveWithExplicitProperties() throws Exception- Throws:
Exception
-
nonKeyLengthAlgorithmWithSpecifiedLength
public void nonKeyLengthAlgorithmWithSpecifiedLength() throws Exception- Throws:
Exception
-
testVectors
@DataProvider(name="testVectors") public Object[][] testVectors() throws org.apache.commons.codec.DecoderException, EncodingException
- Throws:
org.apache.commons.codec.DecoderExceptionEncodingException
-
-