This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.crypto.dsig.keyinfo
interface KeyName

All Superinterfaces:
XMLStructure

Most common way to construct:

KeyInfoFactory factory = …;

KeyName keyName = factory.newKeyName("Alice");

Based on 20 examples


public interface KeyName
extends XMLStructure

A representation of the XML KeyName element as defined in the W3C Recommendation for XML-Signature Syntax and Processing. A KeyName object contains a string value which may be used by the signer to communicate a key identifier to the recipient. The XML Schema Definition is defined as:

 <element name="KeyName" type="string"/>
 
A KeyName instance may be created by invoking the {@link KeyInfoFactory#newKeyName newKeyName} method of the {@link KeyInfoFactory} class, and passing it a String representing the name of the key; for example:
 KeyInfoFactory factory = KeyInfoFactory.getInstance("DOM");
 KeyName keyName = factory.newKeyName("Alice");   
 


Method Summary
 String

          Returns the name of this KeyName.
 
Methods inherited from class javax.xml.crypto.XMLStructure
isFeatureSupported
 

Method Detail

getName

public String getName()
Returns the name of this KeyName.

Returns:
the name of this KeyName (never null)


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.