Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Guía para resolver problemas Pagina 105

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 286
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 104
105
5: Using smart cards
}
stepProgressDialog( 1 );
privateKey = new RSAPrivateKey( cryptoSystem, new MyCryptoTokenData(
smartCardID, ID_PKI ) );
keyStoreDataArray[ 0 ] = new CryptoSmartCardKeyStoreData( null, ID_CERT,
privateKey, null, KeyStore.SECURITY_LEVEL_HIGH, certificate, null, null, 0 );
stepProgressDialog( 1 );
privateKey = new RSAPrivateKey( cryptoSystem, new MyCryptoTokenData(
smartCardID, SIGNING_PKI ) );
keyStoreDataArray[ 1 ] = new CryptoSmartCardKeyStoreData( null, SIGNING_CERT,
privateKey, null, KeyStore.SECURITY_LEVEL_HIGH, certificate, null, null, 0 );
stepProgressDialog( 1 );
privateKey = new RSAPrivateKey( cryptoSystem, new MyCryptoTokenData(
smartCardID, ENCRYPTION_PKI ) );
keyStoreDataArray[ 2 ] = new CryptoSmartCardKeyStoreData( null, ENCRYPTION_CERT,
privateKey, null, KeyStore.SECURITY_LEVEL_HIGH, certificate, null, null, 0 );
stepProgressDialog( 1 );
// Sleep so the user sees the last step of the progress dialog move to 100%
try {
Thread.sleep( 250 );
} catch ( InterruptedException e ) {
}
dismissProgressDialog();
return keyStoreDataArray;
} catch ( CryptoUnsupportedOperationException e ) {
} catch ( UnsupportedCryptoSystemException e ) {
} catch ( CryptoTokenException e ) {
}
throw new SmartCardException();
}
/**
* Send some data to the smart card for signing or decryption.
*/
/*package*/ void signDecrypt( RSACryptoSystem cryptoSystem,
MyCryptoTokenData privateKeyData,byte[] input, int inputOffset,
byte[] output, int outputOffset ) throws SmartCardException
{
// Check for nulls
if ( cryptoSystem == null || privateKeyData == null || input == null || output ==
null) {
throw new IllegalArgumentException();
}
// Validate the input parameters
int modulusLength = cryptoSystem.getModulusLength();
Vista de pagina 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 285 286

Comentarios a estos manuales

Sin comentarios

AEG LTH 37700 manuels

Manuels d'utilisation et guides de l'utilisateur pour Non AEG LTH 37700 .
Nous fournissons des manuels en pdf 2 AEG LTH 37700 à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Non AEG

Modèles Type de document
KB8100001M Manuel de l'utilisateur   Aeg KB8100001M Manual do usuário, 36 pages
8160D-M Manuel de l'utilisateur   Aeg 8160D-M User Manual, 12 pages
MC1763E-B Manuel de l'utilisateur   Aeg MC1763E-B User Manual, 120 pages
L573260SL Manuel de l'utilisateur    Aeg L573260SL Пайдаланушы нұсқаулығы, 56 pages
KSE782220M Manuel de l'utilisateur Aeg KSE782220M User Manual, 44 pages
KS8400501M Manuel de l'utilisateur   Aeg KS8400501M Manual do usuário, 28 pages
CE8100-1-M EURO Manuel de l'utilisateur   Aeg CE8100-1-M EURO User Manual, 40 pages
MCD2231E-MEURO Manuel de l'utilisateur   Aeg MCD2231E-MEURO User Manual, 42 pages
F65042W0P Manuel de l'utilisateur     Aeg F65042W0P Használati utasítás, 48 pages
F88700IM0P Manuel de l'utilisateur     Aeg F88700IM0P Kasutusjuhend, 72 pages
FAV64800W Manuel de l'utilisateur    Aeg FAV64800W Handleiding, 42 pages
F67032IM0P Manuel de l'utilisateur     Aeg F67032IM0P Εγχειρίδιο χρήστη, 68 pages
5311E-M Manuel de l'utilisateur   Aeg 5311E-M User Manual, 36 pages
FAV5470I-M Manuel de l'utilisateur   Aeg FAV5470I-M Benutzerhandbuch, 40 pages
KDE911423B Manuel de l'utilisateur    Aeg KDE911423B User Manual [es] [it] [pt] , 60 pages
E81105-EW Manuel de l'utilisateur   Aeg E81105-EW User Manual, 9 pages
12700 Manuel de l'utilisateur   Aeg 12700 Manuale utente, 25 pages
L10500VI Manuel de l'utilisateur   Aeg L10500VI Uživatelský manuál, 24 pages
760Dd Manuel de l'utilisateur   Aeg 760Dd User Manual, 31 pages
LAV41020 Manuel de l'utilisateur Aeg LAV41020 Brugermanual, 40 pages