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 |
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
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
Copyright © 2003-2004, IBM Corporation and Sun Microsystems, Inc. All rights reserved.
Please send comments to:
jsr-106-comments@jcp.org