Tabnine Logo
SignedData.getInstance
Code IndexAdd Tabnine to your IDE (free)

How to use
getInstance
method
in
org.spongycastle.asn1.cms.SignedData

Best Java code snippets using org.spongycastle.asn1.cms.SignedData.getInstance (Showing top 13 results out of 315)

origin: com.madgag.spongycastle/pkix

/**
 * Constructs DVCRequest from CMS SignedData object.
 *
 * @param signedData the CMS SignedData object containing the request
 * @throws DVCSConstructionException
 */
public DVCSRequest(CMSSignedData signedData)
  throws DVCSConstructionException
{
  this(SignedData.getInstance(signedData.toASN1Structure().getContent()).getEncapContentInfo());
}
origin: com.madgag.spongycastle/pkix

/**
 * Constructs DVCRequest from CMS SignedData object.
 *
 * @param signedData the CMS SignedData object containing the request
 * @throws org.spongycastle.dvcs.DVCSConstructionException
 */
public DVCSResponse(CMSSignedData signedData)
  throws DVCSConstructionException
{
  this(SignedData.getInstance(signedData.toASN1Structure().getContent()).getEncapContentInfo());
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

/**
 * Constructs DVCRequest from CMS SignedData object.
 *
 * @param signedData the CMS SignedData object containing the request
 * @throws DVCSConstructionException
 */
public DVCSRequest(CMSSignedData signedData)
  throws DVCSConstructionException
{
  this(SignedData.getInstance(signedData.toASN1Structure().getContent()).getEncapContentInfo());
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

/**
 * Constructs DVCResponse from CMS SignedData object.
 *
 * @param signedData the CMS SignedData object containing the request
 * @throws org.spongycastle.dvcs.DVCSConstructionException
 */
public DVCSResponse(CMSSignedData signedData)
  throws DVCSConstructionException
{
  this(SignedData.getInstance(signedData.toASN1Structure().getContent()).getEncapContentInfo());
}
origin: com.madgag.spongycastle/pkix

private SignedData getSignedData()
  throws CMSException
{
  try
  {
    return SignedData.getInstance(contentInfo.getContent());
  }
  catch (ClassCastException e)
  {
    throw new CMSException("Malformed content.", e);
  }
  catch (IllegalArgumentException e)
  {
    throw new CMSException("Malformed content.", e);
  }
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

private SignedData getSignedData()
  throws CMSException
{
  try
  {
    return SignedData.getInstance(contentInfo.getContent());
  }
  catch (ClassCastException e)
  {
    throw new CMSException("Malformed content.", e);
  }
  catch (IllegalArgumentException e)
  {
    throw new CMSException("Malformed content.", e);
  }
}
origin: es.gob.afirma/afirma-crypto-cades

final SignedData sd = SignedData.getInstance(datos);
origin: es.gob.afirma/afirma-crypto-core-pkcs7

final SignedData sd = SignedData.getInstance(doj.getObject());
final ContentInfo ci = sd.getEncapContentInfo();
origin: es.gob.afirma/afirma-crypto-cms-enveloper

final SignedData sd = SignedData.getInstance(datos);
final ASN1Set signerInfosSd = sd.getSignerInfos();
origin: es.gob.afirma/afirma-crypto-core-pkcs7

final SignedData sd = SignedData.getInstance(doj.getObject());
final ASN1Set signerInfosSd = sd.getSignerInfos();
origin: com.madgag.spongycastle/bcpkix-jdk15on

cms.signedData = SignedData.getInstance(new BERSequence(vec));
origin: com.madgag.spongycastle/pkix

cms.signedData = SignedData.getInstance(new BERSequence(vec));
origin: es.gob.afirma/afirma-crypto-core-pkcs7

ASN1Set certificates = null;
try {
  final SignedData sd = SignedData.getInstance(contentSignedData);
  signerInfosSd = sd.getSignerInfos();
  certificates = sd.getCertificates();
org.spongycastle.asn1.cmsSignedDatagetInstance

Javadoc

Return a SignedData object from the given object.

Accepted inputs:

  • null → null
  • SignedData object
  • org.spongycastle.asn1.ASN1Sequence#getInstance(java.lang.Object) input formats with SignedData structure inside

Popular methods of SignedData

  • <init>
  • getSignerInfos
  • getCertificates
  • getEncapContentInfo
  • calculateVersion
  • checkForVersion3
  • getCRLs
  • getDigestAlgorithms
  • getVersion
  • toASN1Primitive
    Produce an object suitable for an ASN1OutputStream. SignedData ::= SEQUENCE { version CMSVersion,

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now