API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.crypto.dsig.keyinfo. KeyInfoFactory View Source
Author(s)
Sean Mullan
JSR 105 Expert Group
Since
1.6
Version
Serial
Hierarchy
 Object
      KeyInfoFactory
Implements
Subclasses
Description
publicabstract abstract class KeyInfoFactory
  A factory for creating KeyInfo objects from scratch or for unmarshalling a KeyInfo object from a corresponding XML representation.
See also:   
Constructors
protected KeyInfoFactory ()
Default constructor, for invocation by subclasses.
Methods
Hide/Show inherited methods
publicstatic KeyInfoFactory getInstance ()
  Returns a KeyInfoFactory that supports the default XML processing mechanism and representation type ("DOM").
publicstatic KeyInfoFactory getInstance (String mechanismType)
  Returns a KeyInfoFactory that supports the specified XML processing mechanism and representation type (ex: "DOM").
publicstatic KeyInfoFactory getInstance (String mechanismType, Provider provider)
  Returns a KeyInfoFactory that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.
publicstatic KeyInfoFactory getInstance (String mechanismType, String provider) throws NoSuchProviderException
  Returns a KeyInfoFactory that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.
publicfinal String getMechanismType ()
  Returns the type of the XML processing mechanism and representation supported by this KeyInfoFactory (ex: "DOM")
publicfinal Provider getProvider ()
  Returns the provider of this KeyInfoFactory.
publicabstract URIDereferencer getURIDereferencer ()
  Returns a reference to the URIDereferencer that is used by default to dereference URIs in RetrievalMethod objects.
publicabstract boolean isFeatureSupported (String feature)
  Indicates whether a specified feature is supported.
publicabstract KeyInfo newKeyInfo (List content)
  Creates a KeyInfo containing the specified list of key information types.
publicabstract KeyInfo newKeyInfo (List content, String id)
  Creates a KeyInfo containing the specified list of key information types and optional id.
publicabstract KeyName newKeyName (String name)
  Creates a KeyName from the specified name.
publicabstract KeyValue newKeyValue (PublicKey key) throws KeyException
  Creates a KeyValue from the specified public key.
publicabstract PGPData newPGPData (byte[] keyId)
  Creates a PGPData from the specified PGP public key identifier.
publicabstract PGPData newPGPData (byte[] keyId, byte[] keyPacket, List other)
  Creates a PGPData from the specified PGP public key identifier, and optional key material packet and list of external elements.
publicabstract PGPData newPGPData (byte[] keyPacket, List other)
  Creates a PGPData from the specified PGP key material packet and optional list of external elements.
publicabstract RetrievalMethod newRetrievalMethod (String uri)
  Creates a RetrievalMethod from the specified URI.
publicabstract RetrievalMethod newRetrievalMethod (String uri, String type, List transforms)
  Creates a RetrievalMethod from the specified parameters.
publicabstract X509Data newX509Data (List content)
  Creates a X509Data containing the specified list of X.509 content.
publicabstract X509IssuerSerial newX509IssuerSerial (String issuerName, BigInteger serialNumber)
  Creates an X509IssuerSerial from the specified X.500 issuer distinguished name and serial number.
publicabstract KeyInfo unmarshalKeyInfo (XMLStructure xmlStructure) throws MarshalException
  Unmarshals a new KeyInfo instance from a mechanism-specific XMLStructure (ex: DOMStructure) instance.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar