Tabnine Logo
SignedData.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.spongycastle.asn1.cms.SignedData
constructor

Best Java code snippets using org.spongycastle.asn1.cms.SignedData.<init> (Showing top 7 results out of 315)

origin: com.madgag/sc-light-jdk15on

public static SignedData getInstance(
  Object  o)
{
  if (o instanceof SignedData)
  {
    return (SignedData)o;
  }
  else if (o != null)
  {
    return new SignedData(ASN1Sequence.getInstance(o));
  }
  return null;
}
origin: com.madgag.spongycastle/core

/**
 * Return a SignedData object from the given object.
 * <p>
 * Accepted inputs:
 * <ul>
 * <li> null &rarr; null
 * <li> {@link SignedData} object
 * <li> {@link org.spongycastle.asn1.ASN1Sequence#getInstance(java.lang.Object) ASN1Sequence} input formats with SignedData structure inside
 * </ul>
 *
 * @param o the object we want converted.
 * @return a reference that can be assigned to SignedData (may be null)
 * @throws IllegalArgumentException if the object cannot be converted.
 */
public static SignedData getInstance(
  Object  o)
{
  if (o instanceof SignedData)
  {
    return (SignedData)o;
  }
  else if (o != null)
  {
    return new SignedData(ASN1Sequence.getInstance(o));
  }
  return null;
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

SignedData  sd = new SignedData(
             new DERSet(digestAlgs),
             encInfo,
origin: com.madgag.spongycastle/pkix

SignedData  sd = new SignedData(
             new DERSet(digestAlgs),
             encInfo,
origin: com.madgag.spongycastle/pkix

cms.signedData = new SignedData(signedData.signedData.getDigestAlgorithms(),
              signedData.signedData.getEncapContentInfo(),
              certSet,
origin: com.madgag.spongycastle/bcpkix-jdk15on

cms.signedData = new SignedData(signedData.signedData.getDigestAlgorithms(),
              signedData.signedData.getEncapContentInfo(),
              certSet,
origin: es.gob.afirma/afirma-crypto-cades

return new ContentInfo(
  PKCSObjectIdentifiers.signedData,
  new SignedData(
   new DERSet(digestAlgorithms),
   contentInfo,
org.spongycastle.asn1.cmsSignedData<init>

Popular methods of SignedData

  • getInstance
    Return a SignedData object from the given object. Accepted inputs: * null → null * SignedData obj
  • getSignerInfos
  • getCertificates
  • getEncapContentInfo
  • calculateVersion
  • checkForVersion3
  • getCRLs
  • getDigestAlgorithms
  • getVersion
  • toASN1Primitive
    Produce an object suitable for an ASN1OutputStream. SignedData ::= SEQUENCE { version CMSVersion,

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Top Vim 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