# java.security.Security.getImpl()

Bernard Leach (leachbj@aba.net.au)
Mon, 16 Feb 1998 14:53:46 +1100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Nikita Ravindrabhai Jhaveri: "SSL Java Standard Extension to JDK 1.1"
- Previous message: Richard M. Smith: "Re: Holes in the Java sandbox"

    Date: Mon, 16 Feb 1998 14:53:46 +1100

    From: Bernard Leach <leachbj@aba.net.au>

    To: java-security@web2.javasoft.com

    Subject: java.security.Security.getImpl()

Hi,

I was looking at the jdk1.2 sources and jce1.2 documentation
and I'm confused as to how the javax.crypto.Cipher class determines
the class that implements a particular algorithm for a given
provider.

The java.security.MessageDigest & java.security.Signature classes
use the java.security.Security.getImpl() method to do the mapping
but that method has package protection and so is inaccessible to
the javax.crypto package.

Is it just an oversight that the getImpl() method has this protection
or is there some other reason I have missed?

    --
    Bernard Leach                    Australian Business Access Pty Ltd.
    leachbj@aba.net.au               http://www.aba.net.au/people/leachbj/

- Next message: Nikita Ravindrabhai Jhaveri: "SSL Java Standard Extension to JDK 1.1"
- Previous message: Richard M. Smith: "Re: Holes in the Java sandbox"