An Overview of Cryptography in Java, Part 3: Writing Your Own Provider New Mexico

We continue our series on Java cryptography with a look at setting up a provider of security services.

Local Companies

Pod Inc
505-243-2287
5951 Jefferson St NE
Albuquerque, NM
Portalsoft Technologies
505-888-0819
3737 Princeton DR NE
Albuquerque, NM
Progressive Computing Solutions
505-255-7705
1919 Alvarado DR NE
Albuquerque, NM
Alliance Networks
505-298-3020
9577 Osuna RD NE
Albuquerque, NM
Nuail Technologes Inc
505-260-4770
615 Wyoming Blvd SE
Albuquerque, NM
Moose Cash Register Inc
505-237-9900
7806 Menaul Blvd NE
Albuquerque, NM
Lisle Computer Corporation
505-296-5358
3818 Bonnie Ann CT NE
Albuquerque, NM
Roadrunner Software Solutions
505-280-7919
2721 Casa Del Norte Ct NE
Albuquerque, NM
Management Sciences Inc
505-255-8611
6022 Constitution Ave NE
Albuquerque, NM
Ardham Technologies Inc
505-884-0284
4600 Montgomery Blvd NE
Albuquerque, NM

provided by: 
Originally published at Internet.com


Establishing a Provider



The first step in building a provider is to create a Provider subclass that includes the algorithms. Providers are represented by a name that is a subclass of java.security.Provider. Each provider class has a name, version number, and string description. You can query these using:

public String getName() public double getVersion() public String getInfo()

To establish the provider subclass, import the java.security library, extend java.security.Provider, and make a call to super with the specifics:

import java.security.*; public class Provider extends java.security.Provider { public Provider() { super ("ECP", 1.1, "Earthweb's Cryptography Provider"); put("","") put("",""); } }

The call to super specifies a providers short name (used in the getInstance() methods that accept a provider name), version number, and a long name or description.

Provider is a subclass of java.util.Hashtable. It keeps mappings between algorithm names and implementations as a list of string mappings. You can add mappings by using the put() method. The put() method takes two arguments: one is in the form of engine.algorithm; the second is the name of the class that implements the algorithm for the specified provider...

Read article at Internet.com site

Featured Local Company

Moose Cash Register Inc

505-237-9900
7806 Menaul Blvd NE
Albuquerque, NM

Regional Articles
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Alamogordo NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Albuquerque NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Anthony NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Aztec NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Belen NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Clovis NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Deming NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Espanola NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Farmington NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Gallup NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Hobbs NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Las Cruces NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Los Alamos NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Los Lunas NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Portales NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Rio Rancho NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Roswell NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Santa Fe NM
- An Overview of Cryptography in Java, Part 3: Writing Your Own Provider Silver City NM
Related Local Event
2010 Winter Electronic Information Systems (EIS) Committee Meeting
Dates: 1/28/2010 - 1/30/2010
Location: Associated Contractors of New Mexico
Albuquerque, NM
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML