Class KeyIdentifier

    • Field Detail

      • log

        protected static final Logger log
    • Constructor Detail

      • KeyIdentifier

        public KeyIdentifier​(Document doc)
                      throws com.sun.xml.wss.XWSSecurityException
        Creates an "empty" KeyIdentifier element with default encoding type and default value type.
        Throws:
        com.sun.xml.wss.XWSSecurityException
      • KeyIdentifier

        public KeyIdentifier​(jakarta.xml.soap.SOAPElement element)
                      throws com.sun.xml.wss.XWSSecurityException
        Takes a SOAPElement and checks if it has the right name.
        Throws:
        com.sun.xml.wss.XWSSecurityException
    • Method Detail

      • getValueType

        public String getValueType()
        If this attr is not present, returns null.
      • setValueType

        public void setValueType​(String valueType)
      • getEncodingType

        public String getEncodingType()
        If this attr is not present, returns null.
      • setEncodingType

        public void setEncodingType​(String encodingType)
      • getReferenceValue

        public String getReferenceValue()
      • setReferenceValue

        public void setReferenceValue​(String encodedValue)
                               throws com.sun.xml.wss.XWSSecurityException
        Throws:
        com.sun.xml.wss.XWSSecurityException
      • getWsuId

        public String getWsuId()
        If this attr is not present, returns null.
      • setWsuId

        public void setWsuId​(String wsuId)
      • getDecodedReferenceValue

        public String getDecodedReferenceValue()
                                        throws com.sun.xml.wss.XWSSecurityException
        Look at EncodingType (if any) and return decoded result. Handle Base64Binary for now.
        Throws:
        com.sun.xml.wss.XWSSecurityException