XML Digital Signature and Encryption, 1.0

javax.xml.crypto.enc.keyinfo
Interface DHKeyValue

All Superinterfaces:
XMLStructure

public interface DHKeyValue
extends XMLStructure

A representation of XML DHKeyValue element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing. The XML schema definition is defined as:


Field Summary
static java.lang.String TYPE
          URI identifying the DHKeyValue type: http://www.w3.org/2001/04/xmlenc#DHKeyValue.
 
Method Summary
 java.security.PublicKey getPublicKey()
          Returns the public key of this DHKeyValue
 
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
 

Field Detail

TYPE

static final java.lang.String TYPE
URI identifying the DHKeyValue type: http://www.w3.org/2001/04/xmlenc#DHKeyValue. This can be specified as the value of the type parameter in the RetrievalMethod class to identify a DHKeyValue structure.

See Also:
Constant Field Values
Method Detail

getPublicKey

java.security.PublicKey getPublicKey()
                                     throws java.security.KeyException
Returns the public key of this DHKeyValue

Returns:
the public key of this DHKeyValue
Throws:
java.security.KeyException - if this DHKeyValue cannot be converted to a PublicKey

XML Digital Signature and Encryption, 1.0

Copyright © 2003-2004, IBM Corporation and Sun Microsystems, Inc. All rights reserved.
Please send comments to: jsr-106-comments@jcp.org