public CMSEncryptedData(ContentInfo contentInfo) { this.contentInfo = contentInfo; this.encryptedData = EncryptedData.getInstance(contentInfo.getContent()); }
public Attributes toASN1Structure() { return new Attributes(this.toASN1EncodableVector()); }
public AttributeTable( Attribute attr) { addAttribute(attr.getAttrType(), attr); }
TimeStampDataUtil(TimeStampedData timeStampedData) { this.metaDataUtil = new MetaDataUtil(timeStampedData.getMetaData()); Evidence evidence = timeStampedData.getTemporalEvidence(); this.timeStamps = evidence.getTstEvidence().toTimeStampAndCRLArray(); }
public ASN1ObjectIdentifier getContentType() { return signedData.getEncapContentInfo().getContentType(); }
TimeStampDataUtil(TimeStampedDataParser timeStampedData) throws IOException { this.metaDataUtil = new MetaDataUtil(timeStampedData.getMetaData()); Evidence evidence = timeStampedData.getTemporalEvidence(); this.timeStamps = evidence.getTstEvidence().toTimeStampAndCRLArray(); }
/** * return a table of the digested attributes indexed by * the OID of the attribute. */ public AttributeTable getAuthAttrs() { if (authAttrs == null) { return null; } return new AttributeTable(authAttrs); }
public BcKEKRecipientInfoGenerator(byte[] keyIdentifier, BcSymmetricKeyWrapper kekWrapper) { this(new KEKIdentifier(keyIdentifier, null, null), kekWrapper); } }
/** * return the ASN.1 encoded representation of this object. */ public byte[] getEncoded() throws IOException { return contentInfo.getEncoded(); } }
/** * @deprecated use getEncapsulatedContentInfo() */ public ContentInfoParser getEnapsulatedContentInfo() throws IOException { return getEncapsulatedContentInfo(); }
public AttributeTable( Hashtable attrs) { attributes = copyTable(attrs); }
protected void engineInit(byte[] params) throws IOException { ccmParams = CCMParameters.getInstance(params); }
protected byte[] engineGetEncoded() throws IOException { return ccmParams.getEncoded(); }
protected byte[] engineGetEncoded() throws IOException { return gcmParams.getEncoded(); }
public Attributes toASN1Structure() { return new Attributes(this.toASN1EncodableVector()); }
TimeStampDataUtil(TimeStampedData timeStampedData) { this.metaDataUtil = new MetaDataUtil(timeStampedData.getMetaData()); Evidence evidence = timeStampedData.getTemporalEvidence(); this.timeStamps = evidence.getTstEvidence().toTimeStampAndCRLArray(); }
/** * return a table of the signed attributes - indexed by * the OID of the attribute. */ public AttributeTable getSignedAttributes() { if (signedAttributeSet != null && signedAttributeValues == null) { signedAttributeValues = new AttributeTable(signedAttributeSet); } return signedAttributeValues; }
public CMSEncryptedData(ContentInfo contentInfo) { this.contentInfo = contentInfo; this.encryptedData = EncryptedData.getInstance(contentInfo.getContent()); }
public BcKEKRecipientInfoGenerator(byte[] keyIdentifier, BcSymmetricKeyWrapper kekWrapper) { this(new KEKIdentifier(keyIdentifier, null, null), kekWrapper); } }
/** * return the ASN.1 encoded representation of this object. */ public byte[] getEncoded() throws IOException { return contentInfo.getEncoded(); }