Kaydet (Commit) 1fd2cb6b authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS xmlsec08 (1.19.8); FILE MERGED

2005/02/17 17:55:31 mt 1.19.8.3: #i41270# Don't check for pric key in doc cert...
2005/02/02 15:09:11 mt 1.19.8.2: RESYNC: (1.19-1.20); FILE MERGED
2005/01/21 11:05:14 pb 1.19.8.1: fix: #i40374# use new GetContentPart()
üst b8108227
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: macrosecurity.cxx,v $ * $RCSfile: macrosecurity.cxx,v $
* *
* $Revision: 1.20 $ * $Revision: 1.21 $
* *
* last change: $Author: rt $ $Date: 2005-01-28 15:22:27 $ * last change: $Author: vg $ $Date: 2005-03-10 18:05:30 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -261,7 +261,7 @@ IMPL_LINK( MacroSecurityTrustedSourcesTP, ViewCertPBHdl, void*, EMTYARG ) ...@@ -261,7 +261,7 @@ IMPL_LINK( MacroSecurityTrustedSourcesTP, ViewCertPBHdl, void*, EMTYARG )
if ( xCert.is() ) if ( xCert.is() )
{ {
CertificateViewer aViewer( this, mpDlg->mxSecurityEnvironment, xCert ); CertificateViewer aViewer( this, mpDlg->mxSecurityEnvironment, xCert, FALSE );
aViewer.Execute(); aViewer.Execute();
} }
} }
...@@ -362,7 +362,6 @@ void MacroSecurityTrustedSourcesTP::FillCertLB( void ) ...@@ -362,7 +362,6 @@ void MacroSecurityTrustedSourcesTP::FillCertLB( void )
maTrustCertLB.Clear(); maTrustCertLB.Clear();
sal_uInt32 nCountEntries = maTrustedAuthors.getLength(); sal_uInt32 nCountEntries = maTrustedAuthors.getLength();
String aCN_Id( String::CreateFromAscii( "CN" ) );
for( sal_uInt32 nEntry = 0 ; nEntry < nCountEntries ; ++nEntry ) for( sal_uInt32 nEntry = 0 ; nEntry < nCountEntries ; ++nEntry )
{ {
cssu::Sequence< ::rtl::OUString >& rEntry = maTrustedAuthors[ nEntry ]; cssu::Sequence< ::rtl::OUString >& rEntry = maTrustedAuthors[ nEntry ];
...@@ -371,8 +370,8 @@ void MacroSecurityTrustedSourcesTP::FillCertLB( void ) ...@@ -371,8 +370,8 @@ void MacroSecurityTrustedSourcesTP::FillCertLB( void )
// create from RawData // create from RawData
xCert = mpDlg->mxSecurityEnvironment->createCertificateFromAscii( rEntry[ 2 ] ); xCert = mpDlg->mxSecurityEnvironment->createCertificateFromAscii( rEntry[ 2 ] );
SvLBoxEntry* pLBEntry = maTrustCertLB.InsertEntry( XmlSec::GetContentPart( xCert->getSubjectName(), aCN_Id ) ); SvLBoxEntry* pLBEntry = maTrustCertLB.InsertEntry( XmlSec::GetContentPart( xCert->getSubjectName() ) );
maTrustCertLB.SetEntryText( XmlSec::GetContentPart( xCert->getIssuerName(), aCN_Id ), pLBEntry, 1 ); maTrustCertLB.SetEntryText( XmlSec::GetContentPart( xCert->getIssuerName() ), pLBEntry, 1 );
maTrustCertLB.SetEntryText( XmlSec::GetDateTimeString( xCert->getNotAfter() ), pLBEntry, 2 ); maTrustCertLB.SetEntryText( XmlSec::GetDateTimeString( xCert->getNotAfter() ), pLBEntry, 2 );
pLBEntry->SetUserData( ( void* ) sal_Int32( nEntry ) ); // missuse user data as index pLBEntry->SetUserData( ( void* ) sal_Int32( nEntry ) ); // missuse user data as index
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment