Class DOMKeyValue.RSA

  • All Implemented Interfaces:
    javax.xml.crypto.dsig.keyinfo.KeyValue, javax.xml.crypto.XMLStructure
    Enclosing class:
    DOMKeyValue<K extends java.security.PublicKey>

    static final class DOMKeyValue.RSA
    extends DOMKeyValue<java.security.interfaces.RSAPublicKey>
    • Constructor Detail

      • RSA

        RSA​(java.security.interfaces.RSAPublicKey key)
        throws java.security.KeyException
        Throws:
        java.security.KeyException
      • RSA

        RSA​(org.w3c.dom.Element elem)
        throws javax.xml.crypto.MarshalException
        Throws:
        javax.xml.crypto.MarshalException
    • Method Detail

      • marshalPublicKey

        void marshalPublicKey​(org.w3c.dom.Node parent,
                              org.w3c.dom.Document doc,
                              java.lang.String dsPrefix,
                              javax.xml.crypto.dom.DOMCryptoContext context)
                       throws javax.xml.crypto.MarshalException
        Specified by:
        marshalPublicKey in class DOMKeyValue<java.security.interfaces.RSAPublicKey>
        Throws:
        javax.xml.crypto.MarshalException
      • unmarshalKeyValue

        java.security.interfaces.RSAPublicKey unmarshalKeyValue​(org.w3c.dom.Element kvtElem)
                                                         throws javax.xml.crypto.MarshalException
        Specified by:
        unmarshalKeyValue in class DOMKeyValue<java.security.interfaces.RSAPublicKey>
        Throws:
        javax.xml.crypto.MarshalException