|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.cert.dane.DANEEntryFactory
Factory class for creating DANEEntry objects.
Constructor Summary | |
DANEEntryFactory(DigestCalculator digestCalculator)
Base constructor. |
Method Summary | |
DANEEntry |
createEntry(java.lang.String emailAddress,
int certUsage,
X509CertificateHolder certificate)
Return a DANEEntry for the passed in email address and certificate. |
DANEEntry |
createEntry(java.lang.String emailAddress,
X509CertificateHolder certificate)
Return a DANEEntry for the passed in email address and certificate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DANEEntryFactory(DigestCalculator digestCalculator)
digestCalculator
- a calculator for the message digest to filter email addresses currently SHA-224.Method Detail |
public DANEEntry createEntry(java.lang.String emailAddress, X509CertificateHolder certificate) throws DANEException
emailAddress
- the emails address of interest.certificate
- the certificate to be associated with the email address.
DANEException
- in case of issue generating a matching name.public DANEEntry createEntry(java.lang.String emailAddress, int certUsage, X509CertificateHolder certificate) throws DANEException
emailAddress
- the emails address of interest.certUsage
- the certificate usage field value to use.certificate
- the certificate to be associated with the email address.
DANEException
- in case of issue generating a matching name.
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |