summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/dialogs/certificateviewer.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-03-29 12:19:02 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-03-29 12:19:02 +0000
commit5f91e111cf2bf8d435cc6dc1f774db1ad08ea744 (patch)
treefb549351b3593bb07fad0cd72f6314f42d9f88bc /xmlsecurity/source/dialogs/certificateviewer.cxx
parent174c2748a4d0c11a7658455af2ee39a28430e11a (diff)
INTEGRATION: CWS xmlsec10 (1.17.4); FILE MERGED
2005/03/23 09:52:44 mmi 1.17.4.1: idl review Issue number: Submitted by: Reviewed by:
Diffstat (limited to 'xmlsecurity/source/dialogs/certificateviewer.cxx')
-rw-r--r--xmlsecurity/source/dialogs/certificateviewer.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx
index 20897f843..4add2f61e 100644
--- a/xmlsecurity/source/dialogs/certificateviewer.cxx
+++ b/xmlsecurity/source/dialogs/certificateviewer.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: certificateviewer.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: vg $ $Date: 2005-03-10 18:04:34 $
+ * last change: $Author: rt $ $Date: 2005-03-29 13:19:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -209,8 +209,8 @@ CertificateViewerGeneralTP::CertificateViewerGeneralTP( Window* _pParent, Certif
DateTime aDateTimeStart;
DateTime aDateTimeEnd;
- utl::typeConvert( xCert->getNotBefore(), aDateTimeStart );
- utl::typeConvert( xCert->getNotAfter(), aDateTimeEnd );
+ utl::typeConvert( xCert->getNotValidBefore(), aDateTimeStart );
+ utl::typeConvert( xCert->getNotValidAfter(), aDateTimeEnd );
String sText = maValidDateFI.GetText();
sText.SearchAndReplace( String::CreateFromAscii( "%SDATE%" ),
GetSettings().GetUILocaleDataWrapper().getDate( aDateTimeStart.GetDate() ) );
@@ -230,7 +230,7 @@ CertificateViewerGeneralTP::CertificateViewerGeneralTP( Window* _pParent, Certif
if ( _pDlg->mbCheckForPrivateKey )
{
long nCertificateCharacters = _pDlg->mxSecurityEnvironment->getCertificateCharacters( xCert );
- bHasPrivateKey = ( nCertificateCharacters & security::CertificateCharacters::CERT_CHARACTER_HAS_PRIVATE_KEY ) ? TRUE : FALSE;
+ bHasPrivateKey = ( nCertificateCharacters & security::CertificateCharacters::HAS_PRIVATE_KEY ) ? TRUE : FALSE;
}
if ( !bHasPrivateKey )
{
@@ -326,12 +326,12 @@ CertificateViewerDetailsTP::CertificateViewerDetailsTP( Window* _pParent, Certif
*/
DateTime aDateTime;
- utl::typeConvert( xCert->getNotBefore(), aDateTime );
+ utl::typeConvert( xCert->getNotValidBefore(), aDateTime );
aLBEntry = GetSettings().GetUILocaleDataWrapper().getDate( aDateTime.GetDate() );
aLBEntry += String::CreateFromAscii( " " );
aLBEntry += GetSettings().GetUILocaleDataWrapper().getTime( aDateTime.GetTime() );
InsertElement( String( ResId( STR_VALIDFROM ) ), aLBEntry, aLBEntry );
- utl::typeConvert( xCert->getNotAfter(), aDateTime );
+ utl::typeConvert( xCert->getNotValidAfter(), aDateTime );
aLBEntry = GetSettings().GetUILocaleDataWrapper().getDate( aDateTime.GetDate() );
aLBEntry += String::CreateFromAscii( " " );
aLBEntry += GetSettings().GetUILocaleDataWrapper().getTime( aDateTime.GetTime() );