APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.security.jgss

public final Class SunProvider

extends Provider
Class Inheritance
Imports
java.io.Serial, java.security.Provider, .NoSuchAlgorithmException, .InvalidParameterException, .ProviderException, sun.security.jgss.krb5.Krb5MechFactory, sun.security.jgss.spnego.SpNegoMechFactory

Defines the Sun JGSS provider. Will merger this with the Sun security provider sun.security.provider.Sun when the JGSS src is merged with the JDK src. Mechanisms supported are: - Kerberos v5 as defined in RFC 1964. Oid is 1.2.840.113554.1.2.2 - SPNEGO as defined in RFC 2478 Oid is 1.3.6.1.5.5.2 [Dummy mechanism is no longer compiled: - Dummy mechanism. This is primarily useful to test a multi-mech environment. Oid is 1.3.6.1.4.1.42.2.26.1.2]
Author
Mayank Upadhyay

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final String
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.security.Provider:
clearcomputecomputeIfAbsentcomputeIfPresentconfigureelementsentrySetforEachgetgetInfogetNamegetOrDefaultgetPropertygetServicegetServicesgetVersiongetVersionStrisConfiguredkeyskeySetloadmergeputputAllputIfAbsentputServiceremoveremoveremoveServicereplacereplacereplaceAlltoStringvalues

Field Detail

INFOback to summary
private static final String INFO
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.security.Provider.serialVersionUID.

Annotations
@Serial

Constructor Detail

SunProviderback to summary
public SunProvider()
sun.security.jgss back to summary

private final Class SunProvider.ProviderService

extends Service
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object
newInstance(Object ctrParamObj)

Overrides java.security.Provider.Service.newInstance.

Return a new instance of the implementation described by this service.

Inherited from java.security.Provider.Service:
getAlgorithmgetAttributegetClassNamegetProvidergetTypesupportsParametertoString

Constructor Detail

ProviderServiceback to summary
pack-priv ProviderService(Provider p, String type, String algo, String cn)

Method Detail

newInstanceback to summary
public Object newInstance(Object ctrParamObj) throws NoSuchAlgorithmException

Overrides java.security.Provider.Service.newInstance.

Doc from java.security.Provider.Service.newInstance.

Return a new instance of the implementation described by this service. The security provider framework uses this method to construct implementations. Applications will typically not need to call it.

The default implementation uses reflection to invoke the standard constructor for this type of service. Security providers can override this method to implement instantiation in a different way. For details and the values of constructorParameter that are valid for the various types of services see the Java Cryptography Architecture (JCA) Reference Guide.

Annotations
@Override
Exceptions
NoSuchAlgorithmException:
if instantiation failed for any other reason.