/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: FSAssertionArtifact.java,v 1.3 2008/06/25 05:46:43 qcheng Exp $
* Portions Copyrighted 2014 ForgeRock AS
*/
/**
* This class represents the <code>AssertionArtifact</code> element in the
* <code>SAML</code> protocol schema. Current implementation supports
* TYPE 1 artifact only. Other type of artifact can be supported by
* extending this class.
*
* @supported.all.api
* @deprecated since 12.0.0
*/
/**
* Default Artifact length
*/
/**
* Default Artifact Type Code 0 Constant
*/
/**
* Default Artifact Type Code 1 Constant
*/
/**
* Default Artifact Type Code Byte Array
*/
/**
* Default Constructor.
*/
protected FSAssertionArtifact() {
}
/**
* Constructor to create <code>AssertionArtifact</code> object.
*
* @param theArtifact is the string that is generated by a provider.
* @throws SAMLException if there is an error decoding
* the artifact string , the length of the artifact string
* is incorrect , the <code>TYPE CODE</code> in the artifact
* or other errors which prevent creation of
* this object.
*/
// check if the input is empty
}
// decode the artifact
}
}
// check if the length is 42bytes
}
}
// check if the typecode is correct
}
// get the sourceID and assertionHandle
}
/**
* Constructor to create <code>FSAssertionArtifact</code> object.
*
* @param idBytes the source identifier in the <code>Assertion</code>
* @param handleBytes the assertion identifier
* @throws SAMLException if wrong input or couldn't encode the artifact.
*/
throws FSMsgException {
}
}
byte raw[] = new byte[42];
}
try {
} catch (Exception e) {
+ " input:", e);
}
}
}
}