Class MultipartSignedInputImpl
- java.lang.Object
-
- org.jboss.resteasy.security.smime.MultipartSignedInputImpl
-
- All Implemented Interfaces:
SignedInput
public class MultipartSignedInputImpl extends Object implements SignedInput
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Constructor Summary
Constructors Constructor Description MultipartSignedInputImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotation[]getAnnotations()javax.mail.internet.MimeMultipartgetBody()X509CertificategetCertificate()ObjectgetEntity()ObjectgetEntity(Class type)ObjectgetEntity(Class t, Type gt, Annotation[] ann)ObjectgetEntity(javax.ws.rs.core.GenericType gt)ObjectgetEntity(javax.ws.rs.core.GenericType gt, Annotation[] ann)TypegetGenericType()javax.ws.rs.ext.ProvidersgetProviders()PublicKeygetPublicKey()ClassgetType()voidsetAnnotations(Annotation[] annotations)voidsetBody(javax.mail.internet.MimeMultipart body)voidsetCertificate(X509Certificate certificate)voidsetGenericType(Type genericType)voidsetProviders(javax.ws.rs.ext.Providers providers)voidsetPublicKey(PublicKey publicKey)voidsetType(Class type)voidsetType(javax.ws.rs.core.GenericType type)booleanverify()booleanverify(X509Certificate certificate)booleanverify(PublicKey publicKey)
-
-
-
Method Detail
-
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(javax.ws.rs.core.GenericType type)
-
getGenericType
public Type getGenericType()
-
setGenericType
public void setGenericType(Type genericType)
-
getBody
public javax.mail.internet.MimeMultipart getBody()
-
setBody
public void setBody(javax.mail.internet.MimeMultipart body)
-
getAnnotations
public Annotation[] getAnnotations()
-
setAnnotations
public void setAnnotations(Annotation[] annotations)
-
getProviders
public javax.ws.rs.ext.Providers getProviders()
-
setProviders
public void setProviders(javax.ws.rs.ext.Providers providers)
-
getEntity
public Object getEntity()
- Specified by:
getEntityin interfaceSignedInput
-
getEntity
public Object getEntity(Class type)
- Specified by:
getEntityin interfaceSignedInput
-
getEntity
public Object getEntity(javax.ws.rs.core.GenericType gt)
- Specified by:
getEntityin interfaceSignedInput
-
getEntity
public Object getEntity(javax.ws.rs.core.GenericType gt, Annotation[] ann)
-
getEntity
public Object getEntity(Class t, Type gt, Annotation[] ann)
-
verify
public boolean verify() throws Exception- Specified by:
verifyin interfaceSignedInput- Throws:
Exception
-
verify
public boolean verify(X509Certificate certificate) throws Exception
- Specified by:
verifyin interfaceSignedInput- Throws:
Exception
-
verify
public boolean verify(PublicKey publicKey) throws Exception
- Specified by:
verifyin interfaceSignedInput- Throws:
Exception
-
-