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

      Fields 
      Modifier and Type Field and Description
      static java.lang.String TYPE
      URI identifying the DHKeyValue type: http://www.w3.org/2001/04/xmlenc#DHKeyValue.
    • 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 Security (JSR 105/106), 1.8

Copyright © 2015 IBM Corporation. All Rights Reserved.