Example usage for org.bouncycastle.cms SignerId SignerId

List of usage examples for org.bouncycastle.cms SignerId SignerId

Introduction

In this page you can find the example usage for org.bouncycastle.cms SignerId SignerId.

Prototype

public SignerId(X500Name issuer, BigInteger serialNumber, byte[] subjectKeyId) 

Source Link

Document

Construct a signer ID based on the issuer and serial number of the signer's associated certificate.

Usage

From source file:org.xwiki.crypto.pkix.internal.BcStoreX509CertificateProvider.java

License:Open Source License

@Override
public CertifiedPublicKey getCertificate(PrincipalIndentifier issuer, BigInteger serial, byte[] keyIdentifier) {
    return BcUtils.convertCertificate(this.factory,
            getCertificate(new SignerId(BcUtils.getX500Name(issuer), serial, keyIdentifier)));
}