javax.xml.crypto.enc.keyinfo
Interface DHKeyValue
All Superinterfaces:
- public interface DHKeyValue
- extends XMLStructure
Field Summary
Modifier and Type | Field and Description |
---|---|
|
TYPE
URI identifying the DHKeyValue type:
http://www.w3.org/2001/04/xmlenc#DHKeyValue.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
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:
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