Class PKCS7SignatureInput<T>

java.lang.Object
org.jboss.resteasy.security.smime.PKCS7SignatureInput<T>

public class PKCS7SignatureInput<T> extends Object
Version:
$Revision: 1 $
Author:
Bill Burke
  • Constructor Details

    • PKCS7SignatureInput

      public PKCS7SignatureInput()
    • PKCS7SignatureInput

      public PKCS7SignatureInput(org.bouncycastle.cms.CMSSignedData data)
    • PKCS7SignatureInput

      public PKCS7SignatureInput(String base64)
      Base64 encoded pks bytes.
      Parameters:
      base64 - Base64 encoded string
    • PKCS7SignatureInput

      public PKCS7SignatureInput(byte[] bytes)
      PKS Encoded bytes
      Parameters:
      bytes - data
  • Method Details

    • getPublicKey

      public PublicKey getPublicKey()
    • setPublicKey

      public void setPublicKey(PublicKey publicKey)
    • getCertificate

      public X509Certificate getCertificate()
    • setCertificate

      public void setCertificate(X509Certificate certificate)
    • getType

      public Class<?> getType()
    • setType

      public void setType(Class<?> type)
    • setType

      public void setType(jakarta.ws.rs.core.GenericType<?> type)
    • getGenericType

      public Type getGenericType()
    • setGenericType

      public void setGenericType(Type genericType)
    • getData

      public org.bouncycastle.cms.CMSSignedData getData()
    • setData

      public void setData(org.bouncycastle.cms.CMSSignedData data)
    • getAnnotations

      public Annotation[] getAnnotations()
    • setAnnotations

      public void setAnnotations(Annotation[] annotations)
    • getProviders

      public jakarta.ws.rs.ext.Providers getProviders()
    • setProviders

      public void setProviders(jakarta.ws.rs.ext.Providers providers)
    • getEntity

      public T getEntity(jakarta.ws.rs.core.MediaType mediaType)
    • getEntity

      public <T2> T2 getEntity(Class<T2> type, jakarta.ws.rs.core.MediaType mediaType)
    • getEntity

      public <T2> T2 getEntity(jakarta.ws.rs.core.GenericType<T2> gt, jakarta.ws.rs.core.MediaType mediaType)
    • getEntity

      public <T2> T2 getEntity(jakarta.ws.rs.core.GenericType<T2> gt, Annotation[] ann, jakarta.ws.rs.core.MediaType mediaType)
    • getEntity

      public <T2> T2 getEntity(Class<T2> t, Type gt, Annotation[] ann, jakarta.ws.rs.core.MediaType mediaType)
    • verify

      public boolean verify() throws Exception
      Throws:
      Exception
    • verify

      public boolean verify(X509Certificate certificate) throws Exception
      Throws:
      Exception
    • verify

      public boolean verify(PublicKey publicKey) throws Exception
      Throws:
      Exception