Class SubjectConfirmation

    • Field Detail

      • keyInfoKeyValue

        protected PublicKey keyInfoKeyValue
      • log

        protected static final Logger log
    • Constructor Detail

      • SubjectConfirmation

        public SubjectConfirmation()
      • SubjectConfirmation

        public SubjectConfirmation​(String confirmationMethod)
        From scratch constructor for a single confirmation method.
        Parameters:
        confirmationMethod - A URI (String) that identifies a protocol used to authenticate a Subject. Please refer to draft-sstc-core-25 Section 7 for a list of URIs identifying common authentication protocols.
        Throws:
        SAMLException - if the input data is null.
      • SubjectConfirmation

        public SubjectConfirmation​(List confirmationMethods,
                                   Element subjectConfirmationData,
                                   Element keyInfo)
                            throws SAMLException
        Constructs an SubjectConfirmation instance.
        Parameters:
        confirmationMethods - A set of confirmationMethods each of which is a URI (String) that identifies a protocol used to authenticate a Subject. Please refer to draft-sstc-core-25 Section 7 for a list of URIs identifying common authentication protocols.
        subjectConfirmationData - Additional authentication information to be used by a specific authentication protocol. Can be passed as null if there is no subjectConfirmationData for the SubjectConfirmation object.
        keyInfo - An XML signature element that specifies a cryptographic key held by the Subject.
        Throws:
        SAMLException - if the input data is invalid or confirmationMethods is empty.