Examples of KeyTransRecipientId


Examples of org.bouncycastle.cms.KeyTransRecipientId

                    if ((verbose || LOG.isDebugEnabled()) && certificate != null)
                    {
                        extraInfo += "\n" + j + ": ";
                        if (rid instanceof KeyTransRecipientId)
                        {
                            KeyTransRecipientId ktRid = (KeyTransRecipientId) rid;
                            BigInteger ridSerialNumber = ktRid.getSerialNumber();
                            if (ridSerialNumber != null)
                            {
                                String certSerial = "unknown";
                                BigInteger certSerialNumber = certificate.getSerialNumber();
                                if (certSerialNumber != null)
                                {
                                    certSerial = certSerialNumber.toString(16);
                                }
                                extraInfo += "serial-#: rid " + ridSerialNumber.toString(16)
                                        + " vs. cert " + certSerial + " issuer: rid \'"
                                        + ktRid.getIssuer() + "\' vs. cert \'"
                                        + (materialCert == null ? "null" : materialCert.getIssuer()) + "\' ";
                            }
                        }
                    }
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.