congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SignedData.calculateVersion
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.madgag/sc-light-jdk15on

public SignedData(
  ASN1Set     digestAlgorithms,
  ContentInfo contentInfo,
  ASN1Set     certificates,
  ASN1Set     crls,
  ASN1Set     signerInfos)
{
  this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos);
  this.digestAlgorithms = digestAlgorithms;
  this.contentInfo = contentInfo;
  this.certificates = certificates;
  this.crls = crls;
  this.signerInfos = signerInfos;
  this.crlsBer = crls instanceof BERSet;
  this.certsBer = certificates instanceof BERSet;
}
origin: com.madgag.spongycastle/core

public SignedData(
  ASN1Set     digestAlgorithms,
  ContentInfo contentInfo,
  ASN1Set     certificates,
  ASN1Set     crls,
  ASN1Set     signerInfos)
{
  this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos);
  this.digestAlgorithms = digestAlgorithms;
  this.contentInfo = contentInfo;
  this.certificates = certificates;
  this.crls = crls;
  this.signerInfos = signerInfos;
  this.crlsBer = crls instanceof BERSet;
  this.certsBer = certificates instanceof BERSet;
}
org.spongycastle.asn1.cmsSignedDatacalculateVersion

Popular methods of SignedData

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

Popular in Java

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JTextField (javax.swing)
  • Option (scala)
  • Best IntelliJ 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