Add -issuer_hash and make -subject_hash the default way to get the

subject hash, with -hash a synonym kept around for backward
compatibility reasons.
PR: 650
This commit is contained in:
Richard Levitte
2003-07-03 20:45:09 +00:00
parent 6f2f534b58
commit 94805c84d1
2 changed files with 26 additions and 7 deletions

View File

@@ -17,6 +17,8 @@ B<openssl> B<x509>
[B<-out filename>]
[B<-serial>]
[B<-hash>]
[B<-subject_hash>]
[B<-issuer_hash>]
[B<-subject>]
[B<-issuer>]
[B<-nameopt option>]
@@ -141,12 +143,20 @@ contained in the certificate.
outputs the certificate serial number.
=item B<-hash>
=item B<-subject_hash>
outputs the "hash" of the certificate subject name. This is used in OpenSSL to
form an index to allow certificates in a directory to be looked up by subject
name.
=item B<-issuer_hash>
outputs the "hash" of the certificate issuer name.
=item B<-hash>
synonym for "-hash" for backward compatibility reasons.
=item B<-subject>
outputs the subject name.