mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 20:14:32 +00:00
remove CRL::signature, for consistency with other objects
svn path=/trunk/kdesupport/qca/; revision=670496
This commit is contained in:
parent
1bb4e28b5d
commit
7ddc70de0a
1
TODO
1
TODO
@ -5,7 +5,6 @@
|
||||
deinit method for providers, to occur for all before destruction?
|
||||
securemessage bytesWritten?
|
||||
Provider::version -> qcaVersion, make version() provider's own version?
|
||||
remove CRL::signature? (we don't have this for cert/csr)
|
||||
ensure non-default ctors/dtors/copy/op=, and dpointers as needed:
|
||||
basic,publickey,cert,keystore,securelayer,securemessage
|
||||
QCA_EXPORT check:
|
||||
|
@ -1287,11 +1287,6 @@ namespace QCA
|
||||
*/
|
||||
QList<CRLEntry> revoked() const;
|
||||
|
||||
/**
|
||||
The signature on this CRL
|
||||
*/
|
||||
SecureArray signature() const;
|
||||
|
||||
/**
|
||||
The signature algorithm used for the signature on this CRL
|
||||
*/
|
||||
|
@ -1627,11 +1627,6 @@ QList<CRLEntry> CRL::revoked() const
|
||||
return static_cast<const CRLContext *>(context())->props()->revoked;
|
||||
}
|
||||
|
||||
SecureArray CRL::signature() const
|
||||
{
|
||||
return static_cast<const CRLContext *>(context())->props()->sig;
|
||||
}
|
||||
|
||||
SignatureAlgorithm CRL::signatureAlgorithm() const
|
||||
{
|
||||
return static_cast<const CRLContext *>(context())->props()->sigalgo;
|
||||
@ -1664,6 +1659,9 @@ bool CRL::operator==(const CRL &otherCrl) const
|
||||
return false;
|
||||
}
|
||||
|
||||
const CRLContextProps *a = static_cast<const CRLContext *>(context())->props();
|
||||
const CRLContextProps *b = static_cast<const CRLContext *>(otherCrl.context())->props();
|
||||
|
||||
if ( number() != otherCrl.number() )
|
||||
return false;
|
||||
|
||||
@ -1673,7 +1671,7 @@ bool CRL::operator==(const CRL &otherCrl) const
|
||||
if ( nextUpdate() != otherCrl.nextUpdate() )
|
||||
return false;
|
||||
|
||||
if ( signature() != otherCrl.signature() )
|
||||
if ( a->sig != b->sig )
|
||||
return false;
|
||||
|
||||
if ( signatureAlgorithm() != otherCrl.signatureAlgorithm() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user