Class JcaContentSignerBuilderBC

java.lang.Object
com.itextpdf.bouncycastle.operator.jcajce.JcaContentSignerBuilderBC
All Implemented Interfaces:
IJcaContentSignerBuilder

public class JcaContentSignerBuilderBC extends Object implements IJcaContentSignerBuilder
Wrapper class for JcaContentSignerBuilder.
  • Constructor Details

    • JcaContentSignerBuilderBC

      public JcaContentSignerBuilderBC(org.bouncycastle.operator.jcajce.JcaContentSignerBuilder jcaContentSignerBuilder)
      Creates new wrapper instance for JcaContentSignerBuilder.
      Parameters:
      jcaContentSignerBuilder - JcaContentSignerBuilder to be wrapped
  • Method Details

    • getJcaContentSignerBuilder

      public org.bouncycastle.operator.jcajce.JcaContentSignerBuilder getJcaContentSignerBuilder()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped JcaContentSignerBuilder.
    • build

      Calls actual build method for the wrapped JcaContentSignerBuilder object.
      Specified by:
      build in interface IJcaContentSignerBuilder
      Parameters:
      pk - private key
      Returns:
      IContentSigner the wrapper for built ContentSigner object.
      Throws:
      OperatorCreationExceptionBC
    • setProvider

      public IJcaContentSignerBuilder setProvider(String providerName)
      Calls actual setProvider method for the wrapped JcaContentSignerBuilder object.
      Specified by:
      setProvider in interface IJcaContentSignerBuilder
      Parameters:
      providerName - provider name
      Returns:
      IJcaContentSignerBuilder this wrapper object.
    • equals

      public boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Object