com.fitbur.bouncycastle.cms.bc.BcKeyTransRecipientInfoGenerator Maven / Gradle / Ivy
package com.fitbur.bouncycastle.cms.bc;
import com.fitbur.bouncycastle.asn1.cms.IssuerAndSerialNumber;
import com.fitbur.bouncycastle.cert.X509CertificateHolder;
import com.fitbur.bouncycastle.cms.KeyTransRecipientInfoGenerator;
import com.fitbur.bouncycastle.operator.bc.BcAsymmetricKeyWrapper;
public abstract class BcKeyTransRecipientInfoGenerator
extends KeyTransRecipientInfoGenerator
{
public BcKeyTransRecipientInfoGenerator(X509CertificateHolder recipientCert, BcAsymmetricKeyWrapper wrapper)
{
super(new IssuerAndSerialNumber(recipientCert.toASN1Structure()), wrapper);
}
public BcKeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier, BcAsymmetricKeyWrapper wrapper)
{
super(subjectKeyIdentifier, wrapper);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy