Class HMACSignatureTest

java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.signature.support.tests.HMACSignatureTest

public class HMACSignatureTest extends org.opensaml.core.testing.XMLObjectBaseTestCase
Test to verify Signature and its marshallers and unmarshallers.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • goodCredential

      private Credential goodCredential
      Credential used to sign and verify.
    • badCredential

      private Credential badCredential
      Invalid credential for verification.
    • sxoBuilder

      private SignableSimpleXMLObjectBuilder sxoBuilder
      Builder of mock XML objects.
    • sigBuilder

      private XMLObjectBuilder<Signature> sigBuilder
      Builder of Signature XML objects.
    • keyInfoBuilder

      private XMLObjectBuilder<KeyInfo> keyInfoBuilder
      Build of KeyInfo objects.
    • hmacOutputLength

      private Integer hmacOutputLength
      Value of HMACOutputLength element child of SignatureMethod.
    • expectedKeyName

      private String expectedKeyName
      Expected key name value in KeyInfo.
    • algoURI

      private String algoURI
      Signature algorithm URI.
  • Constructor Details

    • HMACSignatureTest

      public HMACSignatureTest()
  • Method Details