For Programmers: Free Programming Magazines  


Home > Archive > Java Security > April 2006 > Compare 2 certificates









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Compare 2 certificates
Zika Mustikla

2006-03-28, 7:04 pm


How can I compare 2 java.security.cert.X509Certificate objects? I want to
know if they are the same (2 the same certs).


Meenal_Orkey

2006-03-28, 11:30 pm

Hi

To comapre the certificates you can use the equals() method of java.security.cert.Certificate which is a super class of java.security.cert.X509Certificate.

Regards
Meenal


quote:
Originally posted by Zika Mustikla
How can I compare 2 java.security.cert.X509Certificate objects? I want to
know if they are the same (2 the same certs).

Mr. Skeptic

2006-04-01, 7:04 pm

use equals()

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com