org.nhindirect.stagent.cert
Class SignerCertPair

java.lang.Object
  extended by org.nhindirect.stagent.cert.SignerCertPair

public class SignerCertPair
extends Object

A pair object containing signer information and the certificate used in the signature.

Author:
Greg Meyer

Constructor Summary
SignerCertPair(org.bouncycastle.cms.SignerInformation _signer, X509Certificate _cert)
          Construct a pair with the signer information the certificate.
 
Method Summary
 X509Certificate getCertificate()
          Gets the certificate used to sign a message.
 org.bouncycastle.cms.SignerInformation getSigner()
          Gets the signer information.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignerCertPair

public SignerCertPair(org.bouncycastle.cms.SignerInformation _signer,
                      X509Certificate _cert)
Construct a pair with the signer information the certificate.

Parameters:
_signer - Infomorationg about the the signer of a message.
_cert - The certificate used to sign a message.
Method Detail

getSigner

public org.bouncycastle.cms.SignerInformation getSigner()
Gets the signer information.

Returns:
The signer information.

getCertificate

public X509Certificate getCertificate()
Gets the certificate used to sign a message.

Returns:
The certificate used to sign a message.


Copyright © 2010-2013 NHIN Direct. All Rights Reserved.