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
  • Constructor Details

    • ConcatKDFTest

      public ConcatKDFTest()
  • Method Details

    • defaultProperties

      public void defaultProperties() throws Exception
      Throws:
      Exception
    • explicitProperties

      public void explicitProperties() throws Exception
      Throws:
      Exception
    • initNonDigestMethod

      public void initNonDigestMethod() throws Exception
      Throws:
      Exception
    • initUnsupportedDigest

      public void initUnsupportedDigest() throws Exception
      Throws:
      Exception
    • initBadAlgorithmID

      public void initBadAlgorithmID() throws Exception
      Throws:
      Exception
    • initBadPartyUInfo

      public void initBadPartyUInfo() throws Exception
      Throws:
      Exception
    • initBadPartyVInfo

      public void initBadPartyVInfo() throws Exception
      Throws:
      Exception
    • initBadSuppPubInfo

      public void initBadSuppPubInfo() throws Exception
      Throws:
      Exception
    • initBadSuppPrivInfo

      public void initBadSuppPrivInfo() throws Exception
      Throws:
      Exception
    • xmlGenerationSuccess

      public void xmlGenerationSuccess() throws Exception
      Throws:
      Exception
    • fromXMLObject_Basic

      public void fromXMLObject_Basic() throws Exception
      Throws:
      Exception
    • fromXMLObject_NullBitstrings

      public void fromXMLObject_NullBitstrings() throws Exception
      Throws:
      Exception
    • fromXMLObject_EmptyBitstrings_OSJ_355

      public void fromXMLObject_EmptyBitstrings_OSJ_355() throws Exception
      Throws:
      Exception
    • fromXMLObject_InvalidValues

      public void fromXMLObject_InvalidValues() throws Exception
      Throws:
      Exception
    • cloning

      public void cloning() throws Exception
      Throws:
      Exception
    • deriveWithDefaults

      public void deriveWithDefaults() throws Exception
      Throws:
      Exception
    • deriveWithExplicitProperties

      public void deriveWithExplicitProperties() throws Exception
      Throws:
      Exception
    • unknownKeyAlgorithm

      public void unknownKeyAlgorithm() throws Exception
      Throws:
      Exception
    • nonKeyLengthAlgorithm

      public void nonKeyLengthAlgorithm() throws Exception
      Throws:
      Exception
    • nonKeyLengthAlgorithmWithSpecifiedLength

      public void nonKeyLengthAlgorithmWithSpecifiedLength() throws Exception
      Throws:
      Exception
    • decodeParam

      public void decodeParam() throws Exception
      Throws:
      Exception
    • padParam

      public void padParam() throws Exception
      Throws:
      Exception
    • unpadParam

      public void unpadParam() throws Exception
      Throws:
      Exception
    • testVectors

      @DataProvider(name="testVectors") public Object[][] testVectors() throws org.apache.commons.codec.DecoderException, EncodingException
      Throws:
      org.apache.commons.codec.DecoderException
      EncodingException
    • deriveTestVectors

      public void deriveTestVectors(byte[] secret, byte[] otherInfo, Integer keyLength, String digestMethod, byte[] keyBytes) throws Exception
      Throws:
      Exception