Class PKCS7SignatureInput<T>
java.lang.Object
org.jboss.resteasy.security.smime.PKCS7SignatureInput<T>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
ConstructorDescriptionPKCS7SignatureInput
(byte[] bytes) PKS Encoded bytesPKCS7SignatureInput
(String base64) Base64 encoded pks bytes.PKCS7SignatureInput
(org.bouncycastle.cms.CMSSignedData data) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.cms.CMSSignedData
getData()
<T2> T2
getEntity
(jakarta.ws.rs.core.GenericType<T2> gt, jakarta.ws.rs.core.MediaType mediaType) <T2> T2
getEntity
(jakarta.ws.rs.core.GenericType<T2> gt, Annotation[] ann, jakarta.ws.rs.core.MediaType mediaType) getEntity
(jakarta.ws.rs.core.MediaType mediaType) <T2> T2
<T2> T2
getEntity
(Class<T2> t, Type gt, Annotation[] ann, jakarta.ws.rs.core.MediaType mediaType) jakarta.ws.rs.ext.Providers
Class<?>
getType()
void
setAnnotations
(Annotation[] annotations) void
setCertificate
(X509Certificate certificate) void
setData
(org.bouncycastle.cms.CMSSignedData data) void
setGenericType
(Type genericType) void
setProviders
(jakarta.ws.rs.ext.Providers providers) void
setPublicKey
(PublicKey publicKey) void
setType
(jakarta.ws.rs.core.GenericType<?> type) void
boolean
verify()
boolean
verify
(X509Certificate certificate) boolean
-
Constructor Details
-
PKCS7SignatureInput
public PKCS7SignatureInput() -
PKCS7SignatureInput
public PKCS7SignatureInput(org.bouncycastle.cms.CMSSignedData data) -
PKCS7SignatureInput
Base64 encoded pks bytes.- Parameters:
base64
- Base64 encoded string
-
PKCS7SignatureInput
public PKCS7SignatureInput(byte[] bytes) PKS Encoded bytes- Parameters:
bytes
- data
-
-
Method Details
-
getPublicKey
-
setPublicKey
-
getCertificate
-
setCertificate
-
getType
-
setType
-
setType
public void setType(jakarta.ws.rs.core.GenericType<?> type) -
getGenericType
-
setGenericType
-
getData
public org.bouncycastle.cms.CMSSignedData getData() -
setData
public void setData(org.bouncycastle.cms.CMSSignedData data) -
getAnnotations
-
setAnnotations
-
getProviders
public jakarta.ws.rs.ext.Providers getProviders() -
setProviders
public void setProviders(jakarta.ws.rs.ext.Providers providers) -
getEntity
-
getEntity
-
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
- Throws:
Exception
-
verify
- Throws:
Exception
-
verify
- Throws:
Exception
-