/** * return an AuthenticatedData object from a tagged object. * * @param obj the tagged object holding the object we want. * @param explicit true if the object is meant to be explicitly * tagged false otherwise. * @throws IllegalArgumentException if the object held by the * tagged object cannot be converted. */ public static AuthenticatedData getInstance( ASN1TaggedObject obj, boolean explicit) { return getInstance(ASN1Sequence.getInstance(obj, explicit)); }
/** * Return an AuthenticatedData object from a tagged object. * * @param obj the tagged object holding the object we want. * @param explicit true if the object is meant to be explicitly * tagged false otherwise. * @return a reference that can be assigned to AuthenticatedData (may be null) * @throws IllegalArgumentException if the object held by the * tagged object cannot be converted. */ public static AuthenticatedData getInstance( ASN1TaggedObject obj, boolean explicit) { return getInstance(ASN1Sequence.getInstance(obj, explicit)); }
AuthenticatedData.getInstance(authenticatedData);
final AuthenticatedData auth = AuthenticatedData.getInstance(doj.getObject());
authenticated = AuthenticatedData.getInstance( Utils.fetchWrappedData(cmsData) );
AuthenticatedData authData = AuthenticatedData.getInstance(contentInfo.getContent());
AuthenticatedData authData = AuthenticatedData.getInstance(contentInfo.getContent());