Codota Logo
SignedData.<init>
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
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

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • putExtra (Intent)
  • runOnUiThread (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Collectors (java.util.stream)
  • JLabel (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now